net.dpml.component
Class ComponentNotFoundException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended bynet.dpml.component.ControlException
                  extended bynet.dpml.component.ComponentNotFoundException
All Implemented Interfaces:
Serializable

public class ComponentNotFoundException
extends ControlException

Exception thrown in response to a request for an unknown component.

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

Constructor Summary
ComponentNotFoundException(URI uri, String key)
          Creation of a new ComponentNotFoundException.
 
Method Summary
 String getKey()
          Return the requested key.
 
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

ComponentNotFoundException

public ComponentNotFoundException(URI uri,
                                  String key)
Creation of a new ComponentNotFoundException.

Parameters:
uri - the controller uri
key - the requested component key
Method Detail

getKey

public String getKey()
Return the requested key.

Returns:
the key