|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Target(value=METHOD) @Retention(value=RUNTIME) public @interface LogException
Indicates a log message to emit after a method call raises an exception. The
value() field will be passed to the underlying log framework as-is,
along with the exception.
By default, messages from this annotation will be logged at the
Severity.ERROR severity. The severity can be set to any
Severity.
| Required Element Summary | |
|---|---|
String |
value
The log message. |
| Optional Element Summary | |
|---|---|
Severity |
severity
The logging severity for the message. |
| Element Detail |
|---|
public abstract String value
public abstract Severity severity
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||