Class ClientResourceRemotelyClosedException
- 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
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ClientLinkRemotelyClosedException
,ClientSessionRemotelyClosedException
public class ClientResourceRemotelyClosedException extends ClientIllegalStateException
Root exception type for cases of remote closure or client created resources other than the ClientConnection
which will throw exceptions rooted from theClientConnectionRemotelyClosedException
to indicate a fatal connection level error that requires a new connection to be created.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClientResourceRemotelyClosedException(java.lang.String message)
ClientResourceRemotelyClosedException(java.lang.String message, java.lang.Throwable cause)
ClientResourceRemotelyClosedException(java.lang.String message, java.lang.Throwable cause, ErrorCondition condition)
ClientResourceRemotelyClosedException(java.lang.String message, ErrorCondition condition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorCondition
getErrorCondition()
-
-
-
Constructor Detail
-
ClientResourceRemotelyClosedException
public ClientResourceRemotelyClosedException(java.lang.String message)
-
ClientResourceRemotelyClosedException
public ClientResourceRemotelyClosedException(java.lang.String message, java.lang.Throwable cause)
-
ClientResourceRemotelyClosedException
public ClientResourceRemotelyClosedException(java.lang.String message, ErrorCondition condition)
-
ClientResourceRemotelyClosedException
public ClientResourceRemotelyClosedException(java.lang.String message, java.lang.Throwable cause, ErrorCondition condition)
-
-
Method Detail
-
getErrorCondition
public ErrorCondition getErrorCondition()
- Returns:
- the
ErrorCondition
that was provided by the remote to describe the cause of the close.
-
-