Class ModelValidationException

  • All Implemented Interfaces:
    Serializable

    public class ModelValidationException
    extends RuntimeException
    Resource model validation exception. Indicates the issues with the model.
    Author:
    Jakub Podlesak, Marek Potociar
    See Also:
    Serialized Form
    • Constructor Detail

      • ModelValidationException

        public ModelValidationException​(String message,
                                        List<ResourceModelIssue> issues)
        Creates new resource model validation exception with the list of validation issues and the message.
        Parameters:
        message - message for the exception. The final message returned by getMessage() will contains the message and other information about exception.
        issues - validation issues.