public class MetadataNotFoundException extends NotFoundException
Constructor and Description |
---|
MetadataNotFoundException()
Constructor.
|
MetadataNotFoundException(String msg)
Constructor with a detailed message.
|
MetadataNotFoundException(String msg,
MetadataObjectId objectId)
Constructor with a detailed message.
|
MetadataNotFoundException(String msg,
Throwable cause)
Constructor with a detailed message and underlying cause.
|
MetadataNotFoundException(String msg,
Throwable cause,
MetadataObjectId objectId)
Constructor with a detailed message and underlying cause.
|
MetadataNotFoundException(Throwable cause)
Constructor with the underlying cause.
|
MetadataNotFoundException(Throwable cause,
MetadataObjectId objectId)
Constructor with the underlying cause.
|
Modifier and Type | Method and Description |
---|---|
MetadataObjectId |
getObjectId()
The
MetadataObjectId associated with this object. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MetadataNotFoundException()
public MetadataNotFoundException(String msg)
msg
- the associated detailed message.public MetadataNotFoundException(String msg, MetadataObjectId objectId)
msg
- the associated detailed message.objectId
- the metadata object ID that could not be found.public MetadataNotFoundException(Throwable cause)
cause
- the underlying cause for exception.public MetadataNotFoundException(Throwable cause, MetadataObjectId objectId)
cause
- the underlying cause for exception.objectId
- the metadata object ID that could not be found.public MetadataNotFoundException(String msg, Throwable cause)
msg
- the detailed message for the exception.cause
- underlying cause for the exception.public MetadataNotFoundException(String msg, Throwable cause, MetadataObjectId objectId)
msg
- the detailed message for the exception.cause
- underlying cause for the exception.objectId
- the metadata object ID that could not be found.public MetadataObjectId getObjectId()
MetadataObjectId
associated with this object.null
if none.