public class HandshakeException extends RuntimeException
| Constructor and Description |
|---|
HandshakeException(int code,
String message)
Construct a HandshakeException.
|
HandshakeException(int code,
String message,
Throwable cause)
Construct a HandshakeException.
|
HandshakeException(String message)
Construct a HandshakeException.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Get the error code.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic HandshakeException(String message)
message - error descriptionpublic HandshakeException(int code,
String message)
code - error codemessage - error descriptionpublic HandshakeException(int code,
String message,
Throwable cause)
code - error codemessage - error descriptioncause - the cause (which is saved for later retrieval by the
Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)Copyright © 2012-2013. All Rights Reserved.