|
||||||||||
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(java.lang.String applicationCode,
java.lang.String principal,
java.lang.String errorDescription)
Reports the specified error. |
void |
reportError(java.lang.String applicationCode,
java.lang.String principal,
java.lang.Throwable throwable)
Reports the specified Throwable . |
Method Detail |
---|
void reportError(java.lang.String applicationCode, java.lang.String principal, java.lang.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(java.lang.String applicationCode, java.lang.String principal, java.lang.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 |