public class ObjectNotFoundException extends PublicException
| Constructor and Description |
|---|
ObjectNotFoundException(boolean s,
ErrorCase errorCase,
Serializable identifier)
Creates the exception with the provided message.
|
ObjectNotFoundException(boolean s,
ErrorCase errorCase,
String message,
Serializable identifier)
Creates the exception with the provided message.
|
ObjectNotFoundException(ErrorCase errorCase)
Creates the exception with the provided error code.
|
ObjectNotFoundException(ErrorCase errorCase,
long oid)
Creates the exception with the provided error code and the OID of the object.
|
ObjectNotFoundException(ErrorCase errorCase,
Serializable identifier)
Creates the exception with the provided error code and the identifier of the object.
|
ObjectNotFoundException(String message)
Deprecated.
Use of error codes is strongly recommended.
|
ObjectNotFoundException(String message,
long oid)
Deprecated.
Use of error codes is strongly recommended.
|
ObjectNotFoundException(String message,
Serializable identifier)
Deprecated.
Use of error codes is strongly recommended.
|
| Modifier and Type | Method and Description |
|---|---|
Serializable |
getIdentifier()
Gets the identifier of the object.
|
getError, getInner, getLocalizedMessage, isLogged, setLogged, setResourceBundleaddSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ObjectNotFoundException(ErrorCase errorCase)
errorCase - the error code.public ObjectNotFoundException(String message)
message - the exception message.public ObjectNotFoundException(ErrorCase errorCase, long oid)
errorCase - the error code.oid - the OID of the object.public ObjectNotFoundException(String message, long oid)
message - the root messageoid - the OID of the object.public ObjectNotFoundException(ErrorCase errorCase, Serializable identifier)
errorCase - the error code.identifier - the identifier, such as an ID or an OID.public ObjectNotFoundException(String message, Serializable identifier)
message - the root message.identifier - the identifier, such as an ID or an OID.public ObjectNotFoundException(boolean s,
ErrorCase errorCase,
Serializable identifier)
errorCase - the error code.identifier - the identifier, such as an ID or an OID.public ObjectNotFoundException(boolean s,
ErrorCase errorCase,
String message,
Serializable identifier)
message - the exception message.public Serializable getIdentifier()
null if no identifier was provided.Copyright © 2016 Eclipse Stardust. All Rights Reserved.