net.dpml.component
Class PartNotFoundException

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

public class PartNotFoundException
extends ControlException

Exception thrown when an attempt is made to reference an unknown part.

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

Constructor Summary
PartNotFoundException(URI uri, URI target)
          Creation of a new PartNotFoundException.
PartNotFoundException(URI uri, URI parent, URI target)
          Creation of a new PartNotFoundException.
 
Method Summary
 URI getParentURI()
          Return the parent part.
 URI getTargetURI()
          Return the target part uri.
 
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

PartNotFoundException

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

Parameters:
uri - the controller uri
target - the target part

PartNotFoundException

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

Parameters:
uri - the controller uri
parent - the parent part
target - the target part
Method Detail

getParentURI

public URI getParentURI()
Return the parent part.

Returns:
the uri of the part in which the sub-part request was raised

getTargetURI

public URI getTargetURI()
Return the target part uri.

Returns:
the uri of the target part