Package com.globalmentor.util
Class DataException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.globalmentor.util.DataException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
SyntaxException
public class DataException extends java.lang.Exception
Checked exception indicating that there was an error with data being processed.- Author:
- Garret Wilson
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataException()
Constructs a new exception with no detail message.DataException(java.lang.String message)
Constructs a new exception with the specified detail message.DataException(java.lang.String message, java.lang.Throwable cause)
Constructs a new exception with the specified detail message and cause.DataException(java.lang.Throwable cause)
Constructs a new exception with the specified cause and a detail message of(cause==null ? null : cause.toString())
.
-
-
-
Constructor Detail
-
DataException
public DataException()
Constructs a new exception with no detail message.
-
DataException
public DataException(java.lang.String message)
Constructs a new exception with the specified detail message.- Parameters:
message
- The detail message.
-
DataException
public DataException(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 theThrowable.getMessage()
method).cause
- The cause (which is saved for later retrieval by theThrowable.getCause()
method), ornull
if the cause is nonexistent or unknown.
-
DataException
public DataException(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 theThrowable.getCause()
method), ornull
if the cause is nonexistent or unknown.
-
-