biz.hammurapi.dispatch
Class DispatchException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by biz.hammurapi.dispatch.DispatchException
All Implemented Interfaces:
java.io.Serializable

public class DispatchException
extends java.lang.Exception

Exception thrown by invocation handlers are wrapped into this exception and dispatched as return values.

Author:
Pavel Vlasov
See Also:
Serialized Form

Constructor Summary
DispatchException(InvocationHandler source, java.lang.Exception cause)
           
 
Method Summary
 InvocationHandler getSource()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DispatchException

public DispatchException(InvocationHandler source,
                         java.lang.Exception cause)
Method Detail

getSource

public InvocationHandler getSource()


Copyright © 2005 Hammurapi Group. All Rights Reserved.