|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.joinpoint.AbstractJoinPoint
org.codehaus.aspectwerkz.joinpoint.ThrowsJoinPoint
Matches well defined point of execution in the program where an exception is
thrown out of a method.
Stores meta data from the join point.
I.e a reference to original object an method, the original exception etc.
Handles the invocation of the advices added to the join point.
Constructor Summary | |
ThrowsJoinPoint(java.lang.String uuid,
MethodJoinPoint methodJoinPoint,
java.lang.Throwable exception)
Creates a new throws join point. |
Method Summary | |
java.lang.Throwable |
getException()
Returns the exception. |
java.lang.Class |
getExceptionClass()
Returns the exception class. |
java.lang.String |
getExceptionName()
Returns the exception class name. |
java.lang.String |
getLocalizedMessage()
Returns the localized message. |
java.lang.String |
getMessage()
Returns the message. |
java.lang.reflect.Method |
getMethod()
Returns the target method. |
java.lang.String |
getMethodName()
Returns the method name of the original invocation. |
java.lang.Object[] |
getMethodParameters()
Returns the parameters from the original invocation. |
java.lang.Class[] |
getMethodParameterTypes()
Returns the parameter types from the original invocation. |
java.lang.Class |
getMethodReturnType()
Returns the return type from the original invocation. |
java.lang.Class |
getTargetClass()
Returns the target class. |
java.lang.Object |
getTargetInstance()
Returns the target instance. |
java.lang.Object |
proceed()
Invokes the next advice in the chain until it reaches the end. |
java.lang.Object |
proceedInNewThread()
To be called instead of proceed() when a new thread is spawned. |
Methods inherited from class org.codehaus.aspectwerkz.joinpoint.AbstractJoinPoint |
getAttribute |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ThrowsJoinPoint(java.lang.String uuid, MethodJoinPoint methodJoinPoint, java.lang.Throwable exception)
uuid
- the UUID for the AspectWerkz system to usemethodJoinPoint
- the method join pointexception
- the exceptionMethod Detail |
public java.lang.Object proceedInNewThread() throws java.lang.Throwable
java.lang.Throwable
public java.lang.Object proceed() throws java.lang.Throwable
java.lang.Throwable
public java.lang.Throwable getException()
public java.lang.Class getExceptionClass()
public java.lang.String getExceptionName()
public java.lang.String getMessage()
public java.lang.String getLocalizedMessage()
public java.lang.Object getTargetInstance()
public java.lang.Class getTargetClass()
public java.lang.reflect.Method getMethod()
public java.lang.String getMethodName()
public java.lang.Object[] getMethodParameters()
public java.lang.Class[] getMethodParameterTypes()
public java.lang.Class getMethodReturnType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |