net.dpml.component
Class ControlRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.dpml.component.ControlRuntimeException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BuilderRuntimeException, ControllerRuntimeException

public class ControlRuntimeException
extends RuntimeException

Runtime exception thrown by a control.

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

Constructor Summary
ControlRuntimeException(URI uri, String message)
          Creation of a new ControlRuntimeException.
ControlRuntimeException(URI uri, String message, Throwable cause)
          Creation of a new ControlRuntimeException.
 
Method Summary
 URI getControllerURI()
          Return the controller uri.
 
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

ControlRuntimeException

public ControlRuntimeException(URI uri,
                               String message)
Creation of a new ControlRuntimeException.

Parameters:
uri - the part controller uri
message - the exception message

ControlRuntimeException

public ControlRuntimeException(URI uri,
                               String message,
                               Throwable cause)
Creation of a new ControlRuntimeException.

Parameters:
uri - the part controller uri
message - the exception message
cause - the causal exception
Method Detail

getControllerURI

public URI getControllerURI()
Return the controller uri.

Returns:
the uri identifying the controller that raised the exception