org.apache.slide.common
Class ServiceAccessException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.apache.slide.common.SlideException
                    |
                    +--org.apache.slide.common.ServiceAccessException
All Implemented Interfaces:
java.io.Serializable

public class ServiceAccessException
extends SlideException

Service access exception.

Version:
$Revision: 1.5 $
Author:
Remy Maucherat
See Also:
Serialized Form

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, 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

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.
Parameters:
service - Service from which the exception was thrown
e - Exception which is the initial cause of the problem