Aspect StackTraceAspect


  • public aspect StackTraceAspect
    extends AbstractStackTraceAspect

     

    Pointcut Detail

    applicationCode()

    Look at the whole code to find e.printStacktrace()


    allowedCode()

    You can suppress the warning with "@SuppressStackTraceWarning".

    Using e.printStacktrace() is not a good idea. So this aspect together with AbstractStackTraceAspect will print a warning for this call.

    Since:
    14.09.2008
    See Also:
    AbstractStackTraceAspect
  • Pointcut Summary
    public applicationCode()
                Look at the whole code to find e.

    public allowedCode()
                You can suppress the warning with "@SuppressStackTraceWarning".

     

    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StackTraceAspect

        public StackTraceAspect()