Class ErrorAnnotationProcessor


  • @Interceptor
    @Error
    @Priority(2000)
    public class ErrorAnnotationProcessor
    extends Object
    A processor of the Error annotations. Each time a method annotated with this annotation or a method of a class annotated with is annotation is invoked, this processor will produce a log record when the method execution throws an exception. With the message, either the default one (the message of the exception) or the one specified with the annotation, the name and the unique identifier of the user behind the method execution is also written with the message.
    Author:
    mmoquillon