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

public class ConnectionRefusalException extends IOException
An exception to flag that the connection has been refused.
Since:
3.0
See Also:
  • Constructor Details

    • ConnectionRefusalException

      public ConnectionRefusalException()
    • ConnectionRefusalException

      public ConnectionRefusalException(String message)
    • ConnectionRefusalException

      public ConnectionRefusalException(String message, Object... args)
      Constructs an ConnectionRefusalException with the specified detail message formatted using String.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

      public ConnectionRefusalException(Throwable cause, String message, Object... args)
      Constructs an ConnectionRefusalException with the specified detail message formatted using String.format(String, Object...).
      Parameters:
      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.
      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

      public ConnectionRefusalException(String message, Throwable cause)
    • ConnectionRefusalException

      public ConnectionRefusalException(Throwable cause)