Class ConnectionRefusalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PermanentConnectionRefusalException
An exception to flag that the connection has been refused.
- Since:
- 3.0
- See Also:
-
Constructor Summary
ConstructorDescriptionConnectionRefusalException
(String message) ConnectionRefusalException
(String message, Object... args) Constructs anConnectionRefusalException
with the specified detail message formatted usingString.format(String, Object...)
.ConnectionRefusalException
(String message, Throwable cause) ConnectionRefusalException
(Throwable cause, String message, Object... args) Constructs anConnectionRefusalException
with the specified detail message formatted usingString.format(String, Object...)
. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConnectionRefusalException
public ConnectionRefusalException() -
ConnectionRefusalException
-
ConnectionRefusalException
Constructs anConnectionRefusalException
with the specified detail message formatted usingString.format(String, Object...)
.- Parameters:
message
- The detail message format string.args
- Arguments referenced by the format specifiers in the format string.- Throws:
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.
-
ConnectionRefusalException
Constructs anConnectionRefusalException
with the specified detail message formatted usingString.format(String, Object...)
.- Parameters:
cause
- The cause (which is saved for later retrieval by theThrowable.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.- Throws:
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.
-
ConnectionRefusalException
-
ConnectionRefusalException
-