org.apache.slide.common
Class ServiceAccessException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.slide.common.SlideException
              extended byorg.apache.slide.common.ServiceAccessException
All Implemented Interfaces:
java.io.Serializable

public class ServiceAccessException
extends SlideException

Service access exception.

Version:
$Revision: 1.12 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
ServiceAccessException(Service service, java.lang.String cause)
          Constructor.
ServiceAccessException(Service service, java.lang.Throwable e)
          Constructor.
 
Method Summary
 java.lang.Throwable getCauseException()
          return the cause exception, if supplied, else null.
 
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

ServiceAccessException

public ServiceAccessException(Service service,
                              java.lang.String cause)
Constructor.

Parameters:
service - Service from which the exception was thrown
cause - Cause of the exception

ServiceAccessException

public ServiceAccessException(Service service,
                              java.lang.Throwable e)
Constructor.

Parameters:
service - Service from which the exception was thrown
e - Exception which is the initial cause of the problem
Method Detail

getCauseException

public java.lang.Throwable getCauseException()
return the cause exception, if supplied, else null.