net.sourceforge.jsrvany
Class ServiceControlException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--net.sourceforge.jsrvany.ServiceControlException

public class ServiceControlException
extends java.lang.Exception

This class is an ServiceControlException, thrown by an object implementing handleServiceControlException

Copyright (c) 2000 me Holdings Limited

See Also:
Serialized Form

Constructor Summary
ServiceControlException(java.lang.String msg, java.lang.Throwable t)
          Constructs a new ServiceControlException with the specified detail message as a wrapper around the lower level Throwable object.
ServiceControlException(java.lang.Throwable t)
          Constructs a new ServiceControlException as a wrapper around the lower-level Throwable object that is the root cause
 
Method Summary
 java.lang.Throwable getException()
          get the Throwable object wrapped by this ServiceControlException (ie.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceControlException

public ServiceControlException(java.lang.Throwable t)
Constructs a new ServiceControlException as a wrapper around the lower-level Throwable object that is the root cause
Parameters:
t - is the Throwable object

ServiceControlException

public ServiceControlException(java.lang.String msg,
                               java.lang.Throwable t)
Constructs a new ServiceControlException with the specified detail message as a wrapper around the lower level Throwable object.
Parameters:
msg - the detail message.
t - is the Throwable object that is to be wrapped
Method Detail

getException

public java.lang.Throwable getException()
get the Throwable object wrapped by this ServiceControlException (ie. get the root cause)
Returns:
Throwable being the lower-level exception wrapped by this ServiceControlException