Class ValidationException

  • All Implemented Interfaces:
    Serializable

    public class ValidationException
    extends ApiException
    Represents validation error. Throwing this error results in 400 (Bad Request) HTTP response code.
    See Also:
    Serialized Form
    • Constructor Detail

      • ValidationException

        public ValidationException​(String message,
                                   List<ValidationDetails> details)
        Constructs validation error.
        Parameters:
        message - error message
        details - error data