Example usage for Java java.net ConnectException fields, constructors, methods, implement or subclass
The text is from its open source code.
ConnectException(String msg) Constructs a new ConnectException with the specified detail message as to why the connect error occurred. | |
ConnectException() Construct a new ConnectException with no detailed message. |
Throwable | getCause() Returns the cause of this throwable or null if the cause is nonexistent or unknown. |
Class> | getClass() Returns the runtime class of this Object . |
String | getLocalizedMessage() Creates a localized description of this throwable. |
String | getMessage() Returns the detail message string of this throwable. |
Throwable | initCause(Throwable cause) Initializes the cause of this throwable to the specified value. |
void | printStackTrace() Prints this throwable and its backtrace to the standard error stream. |
String | toString() Returns a short description of this throwable. |