org.apache.beehive.controls.api
Class ControlException

Object
  extended by Throwable
      extended by Exception
          extended by RuntimeException
              extended by ControlException
All Implemented Interfaces:
Serializable

public class ControlException
extends RuntimeException

The ControlException class declares an unchecked exception that is thrown by the Controls runtime under certain failure conditions.

See Also:
Serialized Form

Constructor Summary
ControlException()
          Default constructor.
ControlException(String message)
          Constructs a ControlException object with the specified String as a message.
ControlException(String message, Throwable t)
          Constructs a ControlException object using the specified String as a message, and the specified Throwable as a nested exception.
ControlException(Throwable t)
          Constructs a ControlException with the specified cause.
 
Method Summary
 
Methods inherited from class Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ControlException

public ControlException()
Default constructor.


ControlException

public ControlException(String message)
Constructs a ControlException object with the specified String as a message.

Parameters:
message - The message to use.

ControlException

public ControlException(Throwable t)
Constructs a ControlException with the specified cause.

Parameters:
t - the cause

ControlException

public ControlException(String message,
                        Throwable t)
Constructs a ControlException object using the specified String as a message, and the specified Throwable as a nested exception.

Parameters:
message - The message to use.
t - The exception to nest within this exception.