java.io.Serializablepublic class ClientException
extends java.lang.Exception
client.ClientException and its subclasses are a form of
Exception that indicates conditions that a reasonable
application might want to catch.
The class client.ClientException and any subclasses are checked
exceptions. Checked exceptions need to be declared in a
method or constructor's throws clause if they can be thrown
by the execution of the method or constructor and propagate outside
the method or constructor boundary.
| Constructor | Description |
|---|---|
ClientException() |
Constructs a new client exception with
null as its detail message. |
ClientException(java.lang.String message) |
Constructs a new client exception with the specified detail message.
|
ClientException(java.lang.String message,
java.lang.Exception e) |
public ClientException(java.lang.String message,
java.lang.Exception e)
public ClientException()
null as its detail message.
The cause is not initialized, and may subsequently be initialized by a
call to Throwable.initCause(java.lang.Throwable).public ClientException(java.lang.String message)
Throwable.initCause(java.lang.Throwable).message - the detail message. The detail message is saved for
later retrieval by the Throwable.getMessage() method.