Class ValueException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ValueException
    extends java.lang.Exception
    The Value exception used when validating Values.
    Author:
    Christopher Mindus
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ValueException​(java.lang.String message)
      Creates a Value Exception with a message.
      ValueException​(java.lang.String message, java.lang.Throwable exception)
      Creates a Value Exception with a message and an exception cause.
    • Method Summary

      • 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

      • ValueException

        public ValueException​(java.lang.String message)
        Creates a Value Exception with a message.
        Parameters:
        message - the detail message.
      • ValueException

        public ValueException​(java.lang.String message,
                              java.lang.Throwable exception)
        Creates a Value Exception with a message and an exception cause.
        Parameters:
        message - the detail message.
        exception - the exception, i.e. the real cause.