|
||||||||||
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.openwms.core.integration.exception.DataException
org.openwms.core.integration.exception.DataNotFoundException
public class DataNotFoundException
A DataNotFoundException is thrown to indicate that data was expected but not found.
DataException
,
Serialized FormConstructor Summary | |
---|---|
DataNotFoundException(Serializable id)
Create a new DataNotFoundException with the id of the
expected entity. |
|
DataNotFoundException(String message)
Create a new DataNotFoundException with a message text. |
|
DataNotFoundException(String message,
Throwable cause)
Create a new DataNotFoundException with a message text and
the root exception. |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DataNotFoundException(String message, Throwable cause)
DataNotFoundException
with a message text and
the root exception.
message
- Message text as Stringcause
- The root exceptionpublic DataNotFoundException(String message)
DataNotFoundException
with a message text.
message
- Message text as Stringpublic DataNotFoundException(Serializable id)
DataNotFoundException
with the id of the
expected entity.
id
- Id of the expected entity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |