|
||||||||||
| 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
public class InconsistentDatabaseException
A value read from the database was invalid.
The database value {Serializable:ARGUMENT_VALUE} of column
{COLUMN} in table {TABLE} could not be converted into
the java type {TYPE}. Possibly the database has been
modified manually, or the software that wrote the database
contains a bug.
This exception encapsulates the log message
RteLogMessage.INCONSISTENT_DATABASE.
| Constructor Summary | |
|---|---|
protected |
InconsistentDatabaseException(RteLogMessage messageInfo)
Constructor getting an log message info. |
protected |
InconsistentDatabaseException(RteLogMessage messageInfo,
Throwable cause)
Constructor getting an log message info and a root exception. |
|
InconsistentDatabaseException(Serializable argumentValue,
String column,
String table,
String type)
Constructs a inconsistent database exception with a cause. |
|
InconsistentDatabaseException(Serializable argumentValue,
String column,
String table,
String type,
Throwable cause)
Constructs a inconsistent database exception with a cause. |
| Method Summary | |
|---|---|
Serializable |
valueOfArgumentValue()
Returns the value of the parameter argumentValue. |
String |
valueOfColumn()
Returns the value of the parameter column. |
String |
valueOfTable()
Returns the value of the parameter table. |
String |
valueOfType()
Returns the value of the parameter type. |
| 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 InconsistentDatabaseException(Serializable argumentValue,
String column,
String table,
String type,
Throwable cause)
argumentValue - The argument value used in the message.column - The column used in the message.table - The table used in the message.type - The type used in the message.cause - the cause of this exception.
public InconsistentDatabaseException(Serializable argumentValue,
String column,
String table,
String type)
argumentValue - The argument value used in the message.column - The column used in the message.table - The table used in the message.type - The type used in the message.protected InconsistentDatabaseException(RteLogMessage messageInfo)
messageInfo - the log message info for this exception
protected InconsistentDatabaseException(RteLogMessage messageInfo,
Throwable cause)
messageInfo - the log message info for this exceptioncause - the problem that caused this exception to be thrown| Method Detail |
|---|
public Serializable valueOfArgumentValue()
public String valueOfColumn()
public String valueOfTable()
public String valueOfType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||