Package org.apache.activeio.xnet
Class ServiceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.activeio.xnet.ServiceException
-
- All Implemented Interfaces:
java.io.Serializable
public class ServiceException extends java.lang.Exception
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServiceException()
Default constructor, which simply delegates exception handling up the inheritance chain toException
.ServiceException(java.lang.String message)
This constructor allows a message to be supplied indicating the source of the problem that occurred.ServiceException(java.lang.String message, java.lang.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(java.lang.Throwable rootCause)
This constructor allows a "root cause" exception to be supplied, which may later be used by the wrapping application.
-
-
-
Constructor Detail
-
ServiceException
public ServiceException()
Default constructor, which simply delegates exception handling up the inheritance chain toException
.
-
ServiceException
public ServiceException(java.lang.String message)
This constructor allows a message to be supplied indicating the source of the problem that occurred.- Parameters:
message
-String
identifying the cause of the problem.
-
ServiceException
public ServiceException(java.lang.Throwable rootCause)
This constructor allows a "root cause" exception to be supplied, which may later be used by the wrapping application.- Parameters:
rootCause
-Throwable
that triggered the problem.
-
ServiceException
public ServiceException(java.lang.String message, java.lang.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.- Parameters:
message
-String
identifying the cause of the problem.rootCause
-Throwable
that triggered this problem.
-
-