patterntesting.runtime.annotation
Annotation Type LogThrowable


@Retention(value=RUNTIME)
@Target(value={TYPE,CONSTRUCTOR,METHOD})
public @interface LogThrowable

You want to see an Exception or Error in the log if it happens? Use this annotation to mark those classes you want to be logged.

Since:
09.10.2008
Version:
$Revision: 1.2 $
Author:
oliver

Optional Element Summary
 int value
          Normally a RuntimeException will be logged with "WARN" as log level.
 

value

public abstract int value
Normally a RuntimeException will be logged with "WARN" as log level. If you want to change it you can do here.

See Also:
(for the different log levels)
Default:
4


Copyright © 2002–2014 PatternTesting Team. All rights reserved.