org.objectweb.easybeans.tests.common.interceptors.business
Class CausesException00Interceptor

java.lang.Object
  extended by org.objectweb.easybeans.tests.common.interceptors.business.CausesException00Interceptor

public class CausesException00Interceptor
extends java.lang.Object

This interceptor throws Custom00Exception.

Author:
Eduardo Studzinski Estima de Castro, Gisele Pinheiro Souza

Constructor Summary
CausesException00Interceptor()
           
 
Method Summary
 java.lang.Object throwException(javax.ejb.InvocationContext invocationContext)
          Intercepts the method and throws an exception.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CausesException00Interceptor

public CausesException00Interceptor()
Method Detail

throwException

public java.lang.Object throwException(javax.ejb.InvocationContext invocationContext)
                                throws java.lang.Exception
Intercepts the method and throws an exception.

Parameters:
invocationContext - contains attributes of invocation..
Returns:
method's invocation result
Throws:
java.lang.Exception - if invocation fails