KeySelector.
A KeySelectorException can contain a cause: another
throwable that caused this KeySelectorException to get thrown.
| Modifier and Type | Field and Description |
|---|---|
| private Throwable | cause
Hides java. null if this exception was not caused by another throwable
or if the causative throwable is unknown.
|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | KeySelectorException(String
the detail message message)Constructs a new |
| public | KeySelectorException(String
the detail message message, Throwable the cause (A cause)null value is permitted, and
indicates that the cause is nonexistent or unknown.)Constructs a new |
| public | KeySelectorException(Throwable
the cause (A cause)null value is permitted, and
indicates that the cause is nonexistent or unknown.)Constructs a new |
| Modifier and Type | Method and Description |
|---|---|
| public Throwable | Returns: the cause of thisKeySelectorException or
null if the cause is nonexistent or unknown.Overrides java. Returns the cause of this |
| public void | printStackTrace()
Overrides java. Prints this |
| public void | printStackTrace(PrintStream
PrintStream to use for outputOverrides java. Prints this |
| public void | printStackTrace(PrintWriter
PrintWriter to use for outputOverrides java. Prints this |
| cause | back to summary |
|---|---|
| private Throwable cause Hides java. The throwable that caused this exception to get thrown, or
| |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| KeySelectorException | back to summary |
|---|---|
| public KeySelectorException() Constructs a new | |
| KeySelectorException | back to summary |
|---|---|
| public KeySelectorException(String message) Constructs a new
| |
| KeySelectorException | back to summary |
|---|---|
| public KeySelectorException(String message, Throwable cause) Constructs a new Note that the detail message associated with
| |
| KeySelectorException | back to summary |
|---|---|
| public KeySelectorException(Throwable cause) Constructs a new
| |
| getCause | back to summary |
|---|---|
| public Throwable getCause() Overrides java. Returns the cause of this
| |
| printStackTrace | back to summary |
|---|---|
| public void printStackTrace() Overrides java. Prints this | |
| printStackTrace | back to summary |
|---|---|
| public void printStackTrace(PrintStream s) Overrides java. Prints this
| |
| printStackTrace | back to summary |
|---|---|
| public void printStackTrace(PrintWriter s) Overrides java. Prints this
| |