public final class MetadataModelException extends IOException
Constructor and Description |
---|
MetadataModelException()
Constructs an
MetadataModelException with null
as its error detail message. |
MetadataModelException(String message)
Constructs an
MetadataModelException with the specified detail message. |
MetadataModelException(Throwable cause)
Constructs an
MetadataModelException with the specified cause and a
detail message equal to the localized message (if present) or message of cause . |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MetadataModelException()
MetadataModelException
with null
as its error detail message.public MetadataModelException(String message)
MetadataModelException
with the specified detail message.message
- the detail message (which is saved for later retrieval
by the Throwable.getMessage()
method)public MetadataModelException(Throwable cause)
MetadataModelException
with the specified cause and a
detail message equal to the localized message (if present) or message of cause
.
This constructor is useful for IO exceptions that are little more
than wrappers for other throwables.cause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null value is permitted,
and indicates that the cause is nonexistent or unknown.)