|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.jcoderz.commons.BaseException
org.jcoderz.commons.EntityNotFoundException
public class EntityNotFoundException
A database entry in table {TABLE} was not found.
No rows were returned when executing the
finder method ''{FINDER}'' with the argument(s)
''{Serializable:ARGUMENTS}'' on entity bean {ENTITY}.
This exception encapsulates the log message
CmnLogMessage.ENTITY_NOT_FOUND.
| Constructor Summary | |
|---|---|
protected |
EntityNotFoundException(CmnLogMessage messageInfo)
Constructor getting an log message info. |
protected |
EntityNotFoundException(CmnLogMessage messageInfo,
Throwable cause)
Constructor getting an log message info and a root exception. |
|
EntityNotFoundException(String table,
String finder,
Serializable arguments,
String entity)
Constructs a entity not found exception with a cause. |
|
EntityNotFoundException(String table,
String finder,
Serializable arguments,
String entity,
Throwable cause)
Constructs a entity not found exception with a cause. |
| Method Summary | |
|---|---|
Serializable |
valueOfArguments()
Returns the value of the parameter arguments. |
String |
valueOfEntity()
Returns the value of the parameter entity. |
String |
valueOfFinder()
Returns the value of the parameter finder. |
String |
valueOfTable()
Returns the value of the parameter table. |
| Methods inherited from class org.jcoderz.commons.BaseException |
|---|
addParameter, getCause, getEventTime, getInstanceId, getLogMessageInfo, getMessage, getNodeId, getParameter, getParameterNames, getSourceClass, getSourceMethod, getThreadId, getThreadName, getTrackingNumber, initCause, log, logCreation, toDetailedString, toString |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EntityNotFoundException(String table,
String finder,
Serializable arguments,
String entity,
Throwable cause)
table - The table used in the message.finder - The finder used in the message.arguments - The arguments used in the message.entity - The entity used in the message.cause - the cause of this exception.
public EntityNotFoundException(String table,
String finder,
Serializable arguments,
String entity)
table - The table used in the message.finder - The finder used in the message.arguments - The arguments used in the message.entity - The entity used in the message.protected EntityNotFoundException(CmnLogMessage messageInfo)
messageInfo - the log message info for this exception
protected EntityNotFoundException(CmnLogMessage messageInfo,
Throwable cause)
messageInfo - the log message info for this exceptioncause - the problem that caused this exception to be thrown| Method Detail |
|---|
public String valueOfTable()
public String valueOfFinder()
public Serializable valueOfArguments()
public String valueOfEntity()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||