com.sun.slamd.server
Class SLAMDServerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sun.slamd.common.SLAMDException
com.sun.slamd.server.SLAMDServerException
- All Implemented Interfaces:
- java.io.Serializable
- public class SLAMDServerException
- extends SLAMDException
This class defines an exception that may be thrown by the SLAMD server if a
problem occurs. It may be a parent class for more specific kinds of
exceptions, or it may be thrown itself as an exception.
- See Also:
- Serialized Form
|
Constructor Summary |
SLAMDServerException(java.lang.String message)
Creates a new exception that may be thrown if a problem occurs in the SLAMD
server. |
SLAMDServerException(java.lang.String message,
java.lang.Exception parentException)
Creates a new exception that may be thrown if a problem occurs in the SLAMD
server. |
|
Method Summary |
java.lang.Exception |
getParentException()
Retrieves the parent exception that triggered this SLAMD server exception. |
| 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 |
SLAMDServerException
public SLAMDServerException(java.lang.String message)
- Creates a new exception that may be thrown if a problem occurs in the SLAMD
server.
- Parameters:
message - A message that provides information about the nature of
the exception.
SLAMDServerException
public SLAMDServerException(java.lang.String message,
java.lang.Exception parentException)
- Creates a new exception that may be thrown if a problem occurs in the SLAMD
server.
- Parameters:
message - A message that provides information about the
nature of the exception.parentException - The parent exception that triggered this SLAMD
server exception.
getParentException
public java.lang.Exception getParentException()
- Retrieves the parent exception that triggered this SLAMD server exception.
- Overrides:
getParentException in class SLAMDException
- Returns:
- The parent exception that triggered this SLAMD server exception,
or
null if no parent exception is available.