|
||||||||||
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 | +--java.lang.RuntimeException | +--org.jlf.log.AppError | +--org.jlf.dataMap.DataMapError
This class is to be used for throwing data mapping related exceptions.
Field Summary | |
protected java.lang.String |
attributeName
Holds an attribute name. |
protected DataMappedObject |
dataMappedObject
Holds a reference to a particular data mapped object. |
Fields inherited from class org.jlf.log.AppError |
originalThrownObject |
Constructor Summary | |
DataMapError()
Empty constructor to create an AppError with no message. |
|
DataMapError(java.lang.String s)
Constructor accepting a message string. |
|
DataMapError(java.lang.String message,
DataMappedObject dmo,
java.lang.String attributeName)
Constructor accepting a message, an attribute, and a data mapped object. |
|
DataMapError(java.lang.String s,
java.lang.Throwable t)
Constructor accepting a message and a Throwable object. |
|
DataMapError(java.lang.String s,
java.lang.Throwable t,
int loggingLevel)
Constructor accepting a message, a Throwable object, and logging information. |
|
DataMapError(java.lang.Throwable t)
Constructor accepting a reference to a Throwable object. |
Method Summary | |
java.lang.String |
toString()
Returns a String representing the AppError information. |
Methods inherited from class org.jlf.log.AppError |
getOriginalThrownObject, getStackTraceAsString |
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 |
Field Detail |
protected java.lang.String attributeName
protected DataMappedObject dataMappedObject
Constructor Detail |
public DataMapError()
AppError
with no message.
public DataMapError(java.lang.Throwable t)
AppError
to "wrap" a caught exception.
public DataMapError(java.lang.String s)
public DataMapError(java.lang.String s, java.lang.Throwable t)
AppError
to "wrap" a caught exception.
public DataMapError(java.lang.String s, java.lang.Throwable t, int loggingLevel)
public DataMapError(java.lang.String message, DataMappedObject dmo, java.lang.String attributeName)
Method Detail |
public java.lang.String toString()
AppError
information.
toString
in class AppError
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |