|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibatis.sqlmap.engine.scope.ErrorContext
An error context to help us create meaningful error messages
| Constructor Summary | |
ErrorContext()
|
|
| Method Summary | |
java.lang.String |
getActivity()
Getter for the activity that was happening when the error happened |
java.lang.Throwable |
getCause()
Getter for the cause of the error |
java.lang.String |
getMoreInfo()
Getter for more information about the error |
java.lang.String |
getObjectId()
Getter for the object ID where the problem happened |
java.lang.String |
getResource()
Getter for the resource causing the problem |
void |
reset()
Clear the error context |
void |
setActivity(java.lang.String activity)
Getter for the activity that was happening when the error happened |
void |
setCause(java.lang.Throwable cause)
Setter for the cause of the error |
void |
setMoreInfo(java.lang.String moreInfo)
Setter for more information about the error |
void |
setObjectId(java.lang.String objectId)
Setter for the object ID where the problem happened |
void |
setResource(java.lang.String resource)
Setter for the resource causing the problem |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ErrorContext()
| Method Detail |
public java.lang.String getResource()
public void setResource(java.lang.String resource)
resource - - the resourcepublic java.lang.String getActivity()
public void setActivity(java.lang.String activity)
activity - - the activitypublic java.lang.String getObjectId()
public void setObjectId(java.lang.String objectId)
objectId - - the object idpublic java.lang.String getMoreInfo()
public void setMoreInfo(java.lang.String moreInfo)
moreInfo - - more informationpublic java.lang.Throwable getCause()
public void setCause(java.lang.Throwable cause)
cause - - the causepublic java.lang.String toString()
public void reset()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||