|
|||||||||||
| 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.jostraca.util.StandardException
com.ricebridge.data.in.DataBaseException
com.ricebridge.data.DataException
RuntimeException for exceptions occurring in the com.ricebridge.data package.
For a list of error codes, see the MsgCode class. For the error message texts, see the
messages.properties file.
XmlManagerException,
Serialized Form| Nested Class Summary |
| Nested classes inherited from class com.ricebridge.data.in.DataBaseException |
DataBaseException.Code |
| Nested classes inherited from class org.jostraca.util.StandardException |
StandardException.Cat |
| Field Summary |
| Fields inherited from class com.ricebridge.data.in.DataBaseException |
CODE_badequal, CODE_general, CODE_internal_exception, CODE_invoke_method, CODE_newinstance, CODE_sc_def_obj, CODE_sc_def_str, CODE_sc_null, CODE_sc_object, CODE_sc_string, CODE_system |
| Fields inherited from class org.jostraca.util.StandardException |
CODE_user, DEFAULT_CODE, iCode, iContained, iContext, iOrigin, iOriginalMessage, KEY_standard |
| Constructor Summary | |
DataException()
An empty DataException. |
|
DataException(DataBaseException.Code pCode)
Specify the error code. |
|
DataException(DataBaseException.Code pCode,
Object pContext)
Specify the error code, and the error context. |
|
DataException(DataBaseException.Code pCode,
String pText)
Specify the error code, and the error message text. |
|
DataException(DataBaseException.Code pCode,
String[] pContext)
Specify the error code, and provide a set of replacement values for the user-friendly error message associated with this code. |
|
DataException(DataBaseException.Code pCode,
String[] pContext,
Throwable pContained)
Specify the error code, provide a set of replacement values for the user-friendly error message associated with this code, and the original Exception that caused the error. |
|
DataException(DataBaseException.Code pCode,
String pText,
Throwable pContained)
Specify the error code, the error message test, and the original Exception that caused the error. |
|
DataException(DataBaseException.Code pCode,
Throwable pContained)
Specify the error code, and the original Exception that caused the error. |
|
DataException(Throwable pContained)
Specify the error code. |
|
| Method Summary | |
String |
getUserMessage()
Return a user-friendly error message describing the problem. |
UserMessageFormatter |
getUserMessageFormatter()
Get the UserMessageFormatter object that formats user-friendly
error messages. |
String |
toString()
Return a user-friendly error message describing the problem. |
| Methods inherited from class org.jostraca.util.StandardException |
formatContextValues, formatContextValues, formatContextValues, getCat, getCode, getContained, getContainedStandard, getContext, getContextValues, getContextValues, getKey, getOriginalMessage, hasContained, makeStackTrace |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DataException()
DataException.
public DataException(DataBaseException.Code pCode)
pCode - DataBaseException.Code object
public DataException(DataBaseException.Code pCode,
Object pContext)
pCode - DataBaseException.Code objectpContext - user-defined object describing error context
public DataException(DataBaseException.Code pCode,
String pText)
pCode - DataBaseException.Code objectpText - error message text
public DataException(DataBaseException.Code pCode,
String pText,
Throwable pContained)
Exception that caused the error.
pCode - DataBaseException.Code objectpText - error message textpContained - Exception that caused the error
public DataException(DataBaseException.Code pCode,
String[] pContext)
pCode - DataBaseException.Code objectpContext - error message values
public DataException(DataBaseException.Code pCode,
Throwable pContained)
Exception that caused the error.
pCode - DataBaseException.Code objectpContained - Exception that caused the error
public DataException(DataBaseException.Code pCode,
String[] pContext,
Throwable pContained)
Exception that caused the error.
pCode - DataBaseException.Code objectpContext - error message valuespContained - Exception that caused the errorpublic DataException(Throwable pContained)
pContained - Exception that caused the error| Method Detail |
public String toString()
getUserMessage()public String getUserMessage()
Note that the standard getMessage method returns a
technical description of the error more suitable for debugging.
public UserMessageFormatter getUserMessageFormatter()
UserMessageFormatter object that formats user-friendly
error messages.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||