net.dpml.metro.runtime
Class ControllerNotFoundException

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.metro.runtime.ControllerNotFoundException
All Implemented Interfaces:
Serializable

public class ControllerNotFoundException
extends ControlException

Exception thrown when an attempt is made to reference an unknown or unresolvable controller.

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

Constructor Summary
ControllerNotFoundException(URI uri, URI target)
          Creation of a new ControllerNotFoundException.
ControllerNotFoundException(URI uri, URI target, Throwable cause)
          Creation of a new ControllerNotFoundException.
 
Method Summary
 URI getTargetURI()
          Return the uri of the target controller.
 
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

ControllerNotFoundException

public ControllerNotFoundException(URI uri,
                                   URI target)
Creation of a new ControllerNotFoundException.

Parameters:
uri - the uri of the controller raising the exception
target - the uri of the target controller

ControllerNotFoundException

public ControllerNotFoundException(URI uri,
                                   URI target,
                                   Throwable cause)
Creation of a new ControllerNotFoundException.

Parameters:
uri - the uri of the controller raising the exception
target - the uri of the target controller
cause - the causal exception
Method Detail

getTargetURI

public URI getTargetURI()
Return the uri of the target controller.

Returns:
the target controller uri