Class ValidationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ValidationException
    extends java.lang.RuntimeException
    implements java.io.Serializable
    Defines a validation exception.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ValidationException()
      Default constructor for ValidationException.
        ValidationException​(java.lang.String message)
      Constructor for ValidationException.
        ValidationException​(java.lang.String message, java.lang.Throwable throwable)
      Constructor for ValidationException.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean abortProcessing()
      Abort the processing
      void setAbortProcessing​(boolean abortProcessing)
      Set abort the processing
      • Methods inherited from class java.lang.Throwable

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

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

      • ValidationException

        protected ValidationException()
        Default constructor for ValidationException.
      • ValidationException

        public ValidationException​(java.lang.String message)
        Constructor for ValidationException.
        Parameters:
        message - the message
      • ValidationException

        public ValidationException​(java.lang.String message,
                                   java.lang.Throwable throwable)
        Constructor for ValidationException.
        Parameters:
        message - the message
        throwable - the throwable
    • Method Detail

      • setAbortProcessing

        public void setAbortProcessing​(boolean abortProcessing)
        Set abort the processing
        Parameters:
        abortProcessing - true to abort the processing; false to continue the processing
      • abortProcessing

        public boolean abortProcessing()
        Abort the processing
        Returns:
        true to abort the processing; false to continue the processing