|
||||||||||
| 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.jcoderz.commons.BaseRuntimeException
org.jcoderz.commons.InconsistentDatabaseException
org.jcoderz.commons.DatabaseIntegrityErrorException
public class DatabaseIntegrityErrorException
While accessing table {TABLE}, the following problem was
encountered: {PROBLEM}.
This exception encapsulates the log message
RteLogMessage.DATABASE_INTEGRITY_ERROR.
| Constructor Summary | |
|---|---|
protected |
DatabaseIntegrityErrorException(RteLogMessage messageInfo)
Constructor getting an log message info. |
protected |
DatabaseIntegrityErrorException(RteLogMessage messageInfo,
Throwable cause)
Constructor getting an log message info and a root exception. |
|
DatabaseIntegrityErrorException(String table,
String problem)
Constructs a database integrity error exception with a cause. |
|
DatabaseIntegrityErrorException(String table,
String problem,
Throwable cause)
Constructs a database integrity error exception with a cause. |
| Method Summary | |
|---|---|
String |
valueOfProblem()
Returns the value of the parameter problem. |
String |
valueOfTable()
Returns the value of the parameter table. |
| Methods inherited from class org.jcoderz.commons.InconsistentDatabaseException |
|---|
valueOfArgumentValue, valueOfColumn, valueOfType |
| Methods inherited from class org.jcoderz.commons.BaseRuntimeException |
|---|
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 DatabaseIntegrityErrorException(String table,
String problem,
Throwable cause)
table - The table used in the message.problem - The problem used in the message.cause - the cause of this exception.
public DatabaseIntegrityErrorException(String table,
String problem)
table - The table used in the message.problem - The problem used in the message.protected DatabaseIntegrityErrorException(RteLogMessage messageInfo)
messageInfo - the log message info for this exception
protected DatabaseIntegrityErrorException(RteLogMessage 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()
valueOfTable in class InconsistentDatabaseExceptionpublic String valueOfProblem()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||