Class DataException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.globalmentor.util.DataException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SyntaxException

public class DataException extends Exception
Checked exception indicating that there was an error with data being processed.
Author:
Garret Wilson
See Also:
  • Constructor Details

    • DataException

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

      public DataException(String message)
      Constructs a new exception with the specified detail message.
      Parameters:
      message - The detail message.
    • DataException

      public DataException(String message, 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.
    • DataException

      public DataException(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.