|
Arch4J 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--org.arch4j.core.BaseApplicationException | +--org.arch4j.businessdata.DataNotFoundException
This exception is thrown by the from the data service layer to indicate that it was unable to find the expected business data. The most common scenario is a failed lookup of a single row based on a specified primary key.
Field Summary |
Fields inherited from class org.arch4j.core.BaseApplicationException |
nestedException |
Constructor Summary | |
DataNotFoundException()
Constructs a DataNotFoundException with no specified
detail message or nested exception. |
|
DataNotFoundException(String message)
Constructs a DataNotFoundException with the specified
detail message. |
|
DataNotFoundException(String message,
Throwable exception)
Constructs a DataNotFoundException with the specified
detail message and nested exception. |
|
DataNotFoundException(Throwable exception)
Constructs a DataNotFoundException with the specified
nested exception. |
Methods inherited from class org.arch4j.core.BaseApplicationException |
getMessage, getNestedException, getStackTraceString, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DataNotFoundException()
DataNotFoundException
with no specified
detail message or nested exception.
public DataNotFoundException(String message)
DataNotFoundException
with the specified
detail message.
message
- The detailed message.public DataNotFoundException(Throwable exception)
DataNotFoundException
with the specified
nested exception.
exception
- The nested exception.public DataNotFoundException(String message, Throwable exception)
DataNotFoundException
with the specified
detail message and nested exception.
message
- The detailed message.exception
- The nested exception.
|
Arch4J 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |