public class ObjectCannotBeFoundException extends InputException
This class represents the exception thrown by the ObjectModelFacade when a request failed because a required object could not be found.
Constructor and Description |
---|
ObjectCannotBeFoundException()
Default Constructor.
|
ObjectCannotBeFoundException(java.lang.String resourceBundleName, java.lang.String messageKey, java.lang.Object[] formatArguments, java.lang.String defaultText)
Constructor with a localized message.
|
ObjectCannotBeFoundException(java.lang.String resourceBundleName, java.lang.String messageKey, java.lang.Object[] formatArguments, java.lang.String defaultText, java.lang.Throwable exception)
Constructor with a localized message and a chained exception.
|
ObjectCannotBeFoundException(java.lang.Throwable exception)
Constructor with a chained exception.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | dumpException()
This method dumps this exception.
|
java.lang.String | getObjectId()
This method returns the id of the object.
|
java.lang.String | getObjectType()
This method returns the type name of the object.
|
void | setObjectId(java.lang.Object localObjectId)
This method sets the id of the object.
|
void | setObjectType(java.lang.String localObjectType)
This method sets the type name of the object.
|
public ObjectCannotBeFoundException()
Default Constructor.
public ObjectCannotBeFoundException(java.lang.String resourceBundleName, java.lang.String messageKey, java.lang.Object[] formatArguments, java.lang.String defaultText)
Constructor with a localized message.
public ObjectCannotBeFoundException(java.lang.String resourceBundleName, java.lang.String messageKey, java.lang.Object[] formatArguments, java.lang.String defaultText, java.lang.Throwable exception)
Constructor with a localized message and a chained exception.
public ObjectCannotBeFoundException(java.lang.Throwable exception)
Constructor with a chained exception.
public void setObjectId(java.lang.Object localObjectId)
This method sets the id of the object.
public java.lang.String getObjectId()
This method returns the id of the object.
public void setObjectType(java.lang.String localObjectType)
This method sets the type name of the object.
public java.lang.String getObjectType()
This method returns the type name of the object.
public java.lang.String dumpException()