Class ValidationException

    • Field Detail

      • ERROR_CODE

        public static final String ERROR_CODE
        The error code associated with a validation exception
        See Also:
        Constant Field Values
    • Constructor Detail

      • ValidationException

        public ValidationException​(String serviceName,
                                   String message)
        Creates a new ValidationException with the given service name and message
        Parameters:
        serviceName - The name of the service that caused the exception
        message - The reason for the exception
    • Method Detail

      • getApplicationModelType

        public String getApplicationModelType()
        Returns the named model type. May be used for a header.
        Returns:
        the named model type