org.objectweb.easybeans.tests.common.interceptors.business.wrongspecification
Class VoidInterceptor

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

public class VoidInterceptor
extends java.lang.Object

This class has an interceptor method that return void. It isn't in agreement with the JSR220 - EJB 3.0 Spec.

Author:
Eduardo Studzinski Estima de Castro, Giele Pinheiro Souza

Constructor Summary
VoidInterceptor()
           
 
Method Summary
 void doException(javax.ejb.InvocationContext invocationContext)
          This method causes an exception.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VoidInterceptor

public VoidInterceptor()
Method Detail

doException

public void doException(javax.ejb.InvocationContext invocationContext)
                 throws java.lang.Exception
This method causes an exception.

Parameters:
invocationContext - contains attributes of invocation.
Throws:
java.lang.Exception - if invocation fails