com.ibatis.sqlmap.engine.scope
public class ErrorContext extends Object
| 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() |
Returns: - the activity
Returns: - the cause
Returns: - more information
Returns: - the object id
Returns: - the resource
Parameters: activity - the activity
Parameters: cause - the cause
Parameters: moreInfo - more information
Parameters: objectId - the object id
Parameters: resource - the resource