public class InvalidDataException extends RuntimeException
| Constructor and Description | 
|---|
InvalidDataException()
Initializes a new instance. 
 | 
InvalidDataException(String message)
Initializes a new instance with a specified error message. 
 | 
InvalidDataException(String message,
                    Exception cause)
Initializes a new instance with a specified error message and a reference to the
 inner exception that is the cause of this exception. 
 | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidDataException()
public InvalidDataException(String message)
message - The error message that explains the reason for the exception.public InvalidDataException(String message, Exception cause)
message - The error message that explains the reason for the exception.cause - The exception that is the cause of the current exception.