Class 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 Detail

      • QuietExceptionsLogger

        public QuietExceptionsLogger()
    • 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