|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AgentErrorListener
This interface defines the methods to handle the exceptions thrown from the agent code.The user has to implement this interface and register the class with the utils class to handle the errors.
| Method Summary | |
|---|---|
void |
handleError(java.lang.Exception e)
Handles any critical error that is thrown from the agent code. |
void |
handleError(java.lang.String str)
Handles any critical error messages that is thrown from the agent code. |
void |
handleTrace(java.lang.Exception e)
Handles any trace exceptions thrown from the agent code. |
void |
handleTrace(java.lang.String str)
Handles any trace messages thrown from the agent code. |
void |
handleWarning(java.lang.Exception e)
Handles any harmless exceptions thrown from the agent code. |
void |
handleWarning(java.lang.String str)
Handles any harmless messages thrown from the agent code. |
| Method Detail |
|---|
void handleError(java.lang.Exception e)
e - The exception type.void handleWarning(java.lang.Exception e)
e - The Warning Exceptions.void handleTrace(java.lang.Exception e)
e - The Trace Exceptions.void handleError(java.lang.String str)
str - The Error message.void handleWarning(java.lang.String str)
str - The Warning Message.void handleTrace(java.lang.String str)
str - The Trace message.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||