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