站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

ExceptionInterceptor (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.naming.interceptors
Class ExceptionInterceptor

java.lang.Object
  extended byorg.jboss.proxy.Interceptor
      extended byorg.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 $
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.