patterntesting.check.ct
Aspect StackTraceAspect

java.lang.Object
  extended by patterntesting.check.ct.AbstractStackTraceAspect
      extended by patterntesting.check.ct.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".

 

Constructor Summary
StackTraceAspect()
           
 
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()