Class ValidationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ValidationException
    extends java.lang.Exception
    Defines the validation exception
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ValidationException​(java.lang.String message, java.util.List<java.lang.String> validationErrorList)
      Constructor for ValidationException
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getValidationErrorList()
      Get the validation error list
      java.lang.String toString()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ValidationException

        public ValidationException​(java.lang.String message,
                                   java.util.List<java.lang.String> validationErrorList)
        Constructor for ValidationException
        Parameters:
        message - the message
        validationErrorList - the validation error list
    • Method Detail

      • getValidationErrorList

        public java.util.List<java.lang.String> getValidationErrorList()
        Get the validation error list
        Returns:
        the validation error list.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable
        See Also:
        Throwable.toString()