Class ServerException
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
ConstructorsConstructorDescriptionConstructs a newServerExceptioninstance.ServerException(String message) Constructs a newServerExceptionwith a message.ServerException(String message, Throwable cause) Constructs a newServerExceptionwith a message and cause.ServerException(Throwable cause) Constructs a newServerExceptionwith a cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ServerException
public ServerException()Constructs a newServerExceptioninstance. -
ServerException
Constructs a newServerExceptionwith a message.- Parameters:
message- the detail message.
-
ServerException
Constructs a newServerExceptionwith a cause.- Parameters:
cause- the cause of the exception.
-
ServerException
-