Package com.jcabi.aspects.aj
Class ExceptionsLogger
- java.lang.Object
-
- com.jcabi.aspects.aj.ExceptionsLogger
-
@Immutable public final class ExceptionsLogger extends Object
Logs all exceptions thrown out of a method.- Since:
- 0.1.10
- See Also:
LogExceptions
-
-
Constructor Summary
Constructors Constructor Description ExceptionsLogger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
wrap(org.aspectj.lang.ProceedingJoinPoint point)
Catch exception and log it.
-
-
-
Method Detail
-
wrap
public Object wrap(org.aspectj.lang.ProceedingJoinPoint point) throws Throwable
Catch exception and log it.Try NOT to change the signature of this method, in order to keep it backward compatible.
- Parameters:
point
- Joint point- Returns:
- The result of call
- Throws:
Throwable
- If something goes wrong inside
-
-