net.dpml.component
Class DelegationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by net.dpml.component.ControlException
                  extended by net.dpml.component.DelegationException
All Implemented Interfaces:
Serializable

public class DelegationException
extends ControlException

Exception thrown by a local handler that wraps an exception thrown by a foreign handler.

Version:
1.2.0
Author:
Digital Product Meta Library
See Also:
Serialized Form

Constructor Summary
DelegationException(URI uri, URI target, String message, Throwable cause)
          Creation of a new delegation exception.
 
Method Summary
 URI getDelegationTarget()
          Return the uri identifying the delegation target handler.
 
Methods inherited from class net.dpml.component.ControlException
getControllerURI, getRootCause
 
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

DelegationException

public DelegationException(URI uri,
                           URI target,
                           String message,
                           Throwable cause)
Creation of a new delegation exception.

Parameters:
uri - the uri of the controller initiating the delegation
target - the uri of the target handler that raised the causal exception
message - exception message
cause - the causal exception
Method Detail

getDelegationTarget

public URI getDelegationTarget()
Return the uri identifying the delegation target handler.

Returns:
the URI of the delegate handler