org.jboss.naming.interceptors
Class ExceptionInterceptor

java.lang.Object
  extended by org.jboss.proxy.Interceptor
      extended by org.jboss.naming.interceptors.ExceptionInterceptor
All Implemented Interfaces:
Externalizable, Serializable

public class ExceptionInterceptor
extends Interceptor
implements Externalizable

A client interceptor that handles the wrapping of exceptions to NamingExceptions

Version:
$Revision: 1.3.6.1 $
Author:
Scott.Stark@jboss.org
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.proxy.Interceptor
nextInterceptor
 
Constructor Summary
ExceptionInterceptor()
           
 
Method Summary
 Object invoke(Invocation mi)
          Handle methods locally on the client
 
Methods inherited from class org.jboss.proxy.Interceptor
getNext, readExternal, setNext, writeExternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Constructor Detail

ExceptionInterceptor

public ExceptionInterceptor()
Method Detail

invoke

public Object invoke(Invocation mi)
              throws Throwable
Handle methods locally on the client

Specified by:
invoke in class Interceptor
Parameters:
mi -
Returns:
Throws:
Throwable


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.