public class ConnectionRefusalException extends IOException
for a permanent rejection of the connection.,
Serialized Form| Constructor and Description |
|---|
ConnectionRefusalException() |
ConnectionRefusalException(String message) |
ConnectionRefusalException(String message,
Object... args)
Constructs an
ConnectionRefusalException with the specified detail message formatted using
String.format(String, Object...). |
ConnectionRefusalException(String message,
Throwable cause) |
ConnectionRefusalException(Throwable cause) |
ConnectionRefusalException(Throwable cause,
String message,
Object... args)
Constructs an
ConnectionRefusalException with the specified detail message formatted using
String.format(String, Object...). |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ConnectionRefusalException()
public ConnectionRefusalException(String message)
public ConnectionRefusalException(String message, Object... args)
ConnectionRefusalException with the specified detail message formatted using
String.format(String, Object...).message - The detail message format string.args - Arguments referenced by the format specifiers in the format
string.IllegalFormatException - If a format string contains an illegal syntax, a format
specifier that is incompatible with the given arguments,
insufficient arguments given the format string, or other
illegal conditions.public ConnectionRefusalException(Throwable cause, String message, Object... args)
ConnectionRefusalException with the specified detail message formatted using
String.format(String, Object...).cause - 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.)message - The detail message format string.args - Arguments referenced by the format specifiers in the format
string.IllegalFormatException - If a format string contains an illegal syntax, a format
specifier that is incompatible with the given arguments,
insufficient arguments given the format string, or other
illegal conditions.public ConnectionRefusalException(Throwable cause)
Copyright © 2004–2017. All rights reserved.