Package hudson.remoting
Class ChannelClosedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.jenkinsci.remoting.ChannelStateException
hudson.remoting.ChannelClosedException
- All Implemented Interfaces:
Serializable
Indicates that the channel is already closed or being closed.
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.ChannelClosedException(Channel channel, String message, Throwable cause) Constructor.ChannelClosedException(Channel channel, Throwable cause) Constructor.ChannelClosedException(String message, Throwable cause) Deprecated.ChannelClosedException(Throwable cause) Deprecated. -
Method Summary
Methods inherited from class org.jenkinsci.remoting.ChannelStateException
getChannel, getChannelName, getChannelRef, getMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ChannelClosedException
Deprecated.UseChannelClosedException(Throwable)orChannelClosedException(String, Throwable). This constructor will not include cause of the termination. -
ChannelClosedException
Deprecated. -
ChannelClosedException
Constructor.- Parameters:
channel- Reference to the channel.nullif the channel is unknown.cause- Cause- Since:
- 3.15
-
ChannelClosedException
Deprecated.Constructor.- Parameters:
message- Messagecause- Cause of the channel close/termination. May benullif it cannot be determined when the exception is constructed.- Since:
- 3.11
-
ChannelClosedException
public ChannelClosedException(@CheckForNull Channel channel, @NonNull String message, @CheckForNull Throwable cause) Constructor.- Parameters:
channel- Reference to the channel.nullif the channel is unknown.message- Messagecause- Cause of the channel close/termination. May benullif it cannot be determined when the exception is constructed.- Since:
- 3.15
-
ChannelClosedException(Throwable)orChannelClosedException(String, Throwable).