public class InvalidDataException extends UnsupportedOperationException
DataBuilder
or
DataFormat
is unable to handle an operation, which can include:
DataBuilder.build(DataView)
, DataFormat.readFrom(InputStream)
,
etc.Constructor and Description |
---|
InvalidDataException()
Constructs a new
InvalidDataException . |
InvalidDataException(String message)
Constructs a new
InvalidDataException with a message. |
InvalidDataException(String message,
Throwable cause)
Constructs a new
InvalidDataException with the specified message and
cause. |
InvalidDataException(Throwable cause)
Constructs a new
InvalidDataException with the specified cause and a
null message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidDataException()
InvalidDataException
.public InvalidDataException(String message)
InvalidDataException
with a message.message
- The message to display with the exceptionpublic InvalidDataException(String message, Throwable cause)
InvalidDataException
with the specified message and
cause.message
- The exception messagecause
- The cause of this exceptionpublic InvalidDataException(Throwable cause)
InvalidDataException
with the specified cause and a
null message.cause
- The cause of this exception