public class EjbExceptionHandler extends java.lang.Object implements Aspect, java.io.Serializable
MockContainer.isSystemException(Throwable),
Serialized Form| Constructor and Description |
|---|
EjbExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public Pointcut getPointcut()
getPointcut in interface AspectAspect.getPointcut()public void intercept(InvocationContext invocationContext) throws java.lang.Exception
intercept in interface InterceptorinvocationContext - 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.Exceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object