public class EjbExceptionHandler extends java.lang.Object implements Aspect, java.io.Serializable
MockContainer.isSystemException(Throwable)
,
Serialized FormConstructor 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 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)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object