|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.stardust.common.error.ApplicationException
org.eclipse.stardust.common.error.PublicException
org.eclipse.stardust.common.error.ObjectNotFoundException
public class ObjectNotFoundException
Thrown when an object was not found.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
Serializable |
getIdentifier()
Gets the identifier of the object. |
| Methods inherited from class org.eclipse.stardust.common.error.ApplicationException |
|---|
getError, getInner, getLocalizedMessage, isLogged, setLogged, setResourceBundle |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public 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.| Method Detail |
|---|
public Serializable getIdentifier()
null if no identifier was provided.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||