Class ValidationException

All Implemented Interfaces:
Serializable, EventStreamJsonMessage

public class ValidationException extends EventStreamOperationError
Thrown when a validation exception occurs
See Also:
  • Field Details

    • ERROR_CODE

      public static final String ERROR_CODE
      The error code associated with a validation exception
      See Also:
  • Constructor Details

    • 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 Details

    • getApplicationModelType

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