Class ClientLinkRemotelyClosedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.qpid.protonj2.client.exceptions.ClientException
-
- org.apache.qpid.protonj2.client.exceptions.ClientIllegalStateException
-
- org.apache.qpid.protonj2.client.exceptions.ClientResourceRemotelyClosedException
-
- org.apache.qpid.protonj2.client.exceptions.ClientLinkRemotelyClosedException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ClientLinkRedirectedException
public class ClientLinkRemotelyClosedException extends ClientResourceRemotelyClosedException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClientLinkRemotelyClosedException(String message)
Creates a new link remotely closed exception.ClientLinkRemotelyClosedException(String message, Throwable cause)
Creates a new link remotely closed exception.ClientLinkRemotelyClosedException(String message, Throwable cause, ErrorCondition condition)
Creates a new link remotely closed exception.ClientLinkRemotelyClosedException(String message, ErrorCondition condition)
Creates a new link remotely closed exception.
-
Method Summary
-
Methods inherited from class org.apache.qpid.protonj2.client.exceptions.ClientResourceRemotelyClosedException
getErrorCondition
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ClientLinkRemotelyClosedException
public ClientLinkRemotelyClosedException(String message)
Creates a new link remotely closed exception.- Parameters:
message
- The message that describes the reason for the remote closure.
-
ClientLinkRemotelyClosedException
public ClientLinkRemotelyClosedException(String message, Throwable cause)
Creates a new link remotely closed exception.- Parameters:
message
- The message that describes the reason for the remote closure.cause
- An exception that further defines the remote close reason.
-
ClientLinkRemotelyClosedException
public ClientLinkRemotelyClosedException(String message, ErrorCondition condition)
Creates a new link remotely closed exception.- Parameters:
message
- The message that describes the reason for the remote closure.condition
- AnErrorCondition
that provides additional information about the close reason.
-
ClientLinkRemotelyClosedException
public ClientLinkRemotelyClosedException(String message, Throwable cause, ErrorCondition condition)
Creates a new link remotely closed exception.- Parameters:
message
- The message that describes the reason for the remote closure.cause
- An exception that further defines the remote close reason.condition
- AnErrorCondition
that provides additional information about the close reason.
-
-