|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ErrorReporter
Interface for reporting an error. Concrete implementations may choose to report errors via different means, e.g. log files, database, email.
Method Summary | |
---|---|
void |
reportError(String applicationCode,
String principal,
String errorDescription)
Reports the specified error. |
void |
reportError(String applicationCode,
String principal,
Throwable throwable)
Reports the specified Throwable . |
Method Detail |
---|
void reportError(String applicationCode, String principal, String errorDescription)
applicationCode
- The application identifier.principal
- Optional application-specific context information on the
principal incurring the error.errorDescription
- Details on the error.void reportError(String applicationCode, String principal, Throwable throwable)
Throwable
.
applicationCode
- The application identifier.principal
- Optional application-specific context information on the
principal incurring the error.throwable
- The Throwable
to be reported.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |