public class ServiceException extends Exception
Constructor and Description |
---|
ServiceException()
Default constructor, which simply delegates exception
handling up the inheritance chain to
Exception . |
ServiceException(String message)
This constructor allows a message to be supplied indicating the source
of the problem that occurred.
|
ServiceException(String message,
Throwable rootCause)
This constructor allows both a message identifying the
problem that occurred as well as a "root cause" exception
to be supplied, which may later be used by the wrapping
application.
|
ServiceException(Throwable rootCause)
This constructor allows a "root cause" exception to be supplied,
which may later be used by the wrapping application.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ServiceException()
Exception
.
public ServiceException(String message)
message
- String
identifying the cause of the problem.public ServiceException(Throwable rootCause)
rootCause
- Throwable
that triggered the problem.public ServiceException(String message, Throwable rootCause)
message
- String
identifying the cause of the problem.rootCause
- Throwable
that triggered this problem.Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.