org.mockejb.interceptor
Class PointcutException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.mockejb.interceptor.AspectException
                  extended byorg.mockejb.interceptor.PointcutException
All Implemented Interfaces:
java.io.Serializable

public class PointcutException
extends AspectException

Signifies exception in the pointcut, for example errors in the provided regexp patterns. Support exception chaining for 1.3 users just in case.

Author:
Alexander Ananiev
See Also:
Serialized Form

Constructor Summary
PointcutException(java.lang.String message)
           
PointcutException(java.lang.String message, java.lang.Throwable cause)
          Creates a new instance of PointcutException.
 
Methods inherited from class org.mockejb.interceptor.AspectException
getCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PointcutException

public PointcutException(java.lang.String message,
                         java.lang.Throwable cause)
Creates a new instance of PointcutException. Appends the error stack of the cause to the message to remain 1.3 compliant.

Parameters:
message - error message
cause - cause of the exception

PointcutException

public PointcutException(java.lang.String message)