java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cl.netswitch.lib.server.ServerException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ServiceException
Signals that a server error of some kind has occurred. This exception is the
superclass of all the other exceptions defined and used in a server.
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a newServerException
instance.ServerException
(String message) Constructs a newServerException
with a message.ServerException
(String message, Throwable cause) Constructs a newServerException
with a message and cause.ServerException
(Throwable cause) Constructs a newServerException
with a cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ServerException
public ServerException()Constructs a newServerException
instance. -
ServerException
Constructs a newServerException
with a message.- Parameters:
message
- the detail message.
-
ServerException
Constructs a newServerException
with a cause.- Parameters:
cause
- the cause of the exception.
-
ServerException
Constructs a newServerException
with a message and cause.- Parameters:
message
- the detail message.cause
- the cause of the exception.
-