Class IllegalDataException

  • All Implemented Interfaces:
    java.io.Serializable

    public class IllegalDataException
    extends java.lang.RuntimeException
    Unchecked exception indicating that some data encountered was invalid or inappropriate in the context.
    Author:
    Garret Wilson
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      IllegalDataException()
      Constructs a new exception with no detail message.
      IllegalDataException​(java.lang.String message)
      Constructs a new exception with the specified detail message.
      IllegalDataException​(java.lang.String message, java.lang.Throwable cause)
      Constructs a new exception with the specified detail message and cause.
      IllegalDataException​(java.lang.Throwable cause)
      Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()).
    • 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

      • IllegalDataException

        public IllegalDataException()
        Constructs a new exception with no detail message.
      • IllegalDataException

        public IllegalDataException​(java.lang.String message)
        Constructs a new exception with the specified detail message.
        Parameters:
        message - The detail message.
      • IllegalDataException

        public IllegalDataException​(java.lang.String message,
                                    java.lang.Throwable cause)
        Constructs a new exception with the specified detail message and cause.
        Parameters:
        message - The detail message (which is saved for later retrieval by the Throwable.getMessage() method).
        cause - The cause (which is saved for later retrieval by the Throwable.getCause() method), or null if the cause is nonexistent or unknown.
      • IllegalDataException

        public IllegalDataException​(java.lang.Throwable cause)
        Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()).
        Parameters:
        cause - The cause (which is saved for later retrieval by the Throwable.getCause() method), or null if the cause is nonexistent or unknown.