Annotation Type LogRuntimeException


  • @Retention(RUNTIME)
    @Target({TYPE,CONSTRUCTOR,METHOD})
    public @interface LogRuntimeException
    You want to see a RuntimeException 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.5 $
    Author:
    oliver
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      int value
      Normally a RuntimeException will be logged with "WARN" as log level.
    • Element Detail

      • value

        int value
        Normally a RuntimeException will be logged with "WARN" as log level. If you want to change it you can do here.
        Returns:
        the int
        See Also:
        (for the different log levels)
        Default:
        4