Package com.jcabi.aspects.aj
Class QuietExceptionsLogger
- java.lang.Object
-
- com.jcabi.aspects.aj.QuietExceptionsLogger
-
@Immutable public final class QuietExceptionsLogger extends Object
Logs all exceptions thrown out of a method and swallow exception.- Since:
- 0.1.10
- See Also:
LogExceptions
-
-
Constructor Summary
Constructors Constructor Description QuietExceptionsLogger()
-
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, the exception will be swallowed.
-
-
-
Method Detail
-
wrap
public Object wrap(org.aspectj.lang.ProceedingJoinPoint point)
Catch exception and log it, the exception will be swallowed.This aspect should be used only on void returning methods.
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
-
-