Package com.adaptris.core
Class ServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.adaptris.interlok.InterlokException
com.adaptris.core.CoreException
com.adaptris.core.ServiceException
- All Implemented Interfaces:
Serializable
Exception
thrown by Service
s.
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a new instance.ServiceException
(String description) Creates a new instance with a description of theException
.ServiceException
(String description, Throwable cause) Creates a new instance with a reference to a previousException
and a description of theException
.ServiceException
(Throwable cause) Creates a new instance with a reference to a previousException
. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ServiceException
public ServiceException()Creates a new instance.
-
ServiceException
Creates a new instance with a reference to a previous
Exception
.- Parameters:
cause
- a previous, causalException
-
ServiceException
Creates a new instance with a description of the
Exception
.- Parameters:
description
- description of theException
-
ServiceException
Creates a new instance with a reference to a previous
Exception
and a description of theException
.- Parameters:
description
- of theException
cause
- previousException
-