|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mockejb.EjbExceptionHandler
Performs exception logging and chaining according to the EJB spec. Wraps system exceptions in RemoteException or EJBException. All runtime and transaction-related exceptions are considered system exceptions.
MockContainer.isSystemException(Throwable)
,
Serialized FormConstructor Summary | |
EjbExceptionHandler()
|
Method Summary | |
boolean |
equals(java.lang.Object obj)
This class does not have state, so all instances of this class are considered equal |
Pointcut |
getPointcut()
Intercepts all EJB methods. |
int |
hashCode()
|
void |
intercept(InvocationContext invocationContext)
Performs exception translation according to the ejb spec rules. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EjbExceptionHandler()
Method Detail |
public Pointcut getPointcut()
getPointcut
in interface Aspect
Aspect.getPointcut()
public void intercept(InvocationContext invocationContext) throws java.lang.Exception
intercept
in interface Interceptor
invocationContext
- provides the info about this call. Also calls interceptors in
turn according to their order in the chain. invocationContext provides access to the return value
and thrown exceptions of this call.
java.lang.Exception
public boolean equals(java.lang.Object obj)
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |