net.dpml.component
Class ComponentNotFoundException

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.ComponentNotFoundException
All Implemented Interfaces:
Serializable

public class ComponentNotFoundException
extends ControlException

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

Version:
1.2.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