Package com.globalmentor.io
Class IllegalDataException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.globalmentor.io.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())
.
-
-
-
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 theThrowable.getMessage()
method).cause
- The cause (which is saved for later retrieval by theThrowable.getCause()
method), ornull
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 theThrowable.getCause()
method), ornull
if the cause is nonexistent or unknown.
-
-