org.apache.beehive.controls.spi.svc
Class ServiceException

Object
  extended by Throwable
      extended by Exception
          extended by ServiceException
All Implemented Interfaces:
Serializable

public class ServiceException
extends Exception

The ServiceException class declares an checked exception that is thrown by the Service API runtime under certain failure conditions.

See Also:
Serialized Form

Constructor Summary
ServiceException(String message)
          Constructs a ServiceException object with the specified String as a message.
ServiceException(String message, Throwable t)
          Constructs a ServiceException object using the specified String as a message, and the specified Throwable as a nested exception.
 
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

ServiceException

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

Parameters:
message - The message to use.

ServiceException

public ServiceException(String message,
                        Throwable t)
Constructs a ServiceException 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.