Class ClientSessionRemotelyClosedException
- 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.ClientSessionRemotelyClosedException
-
- All Implemented Interfaces:
java.io.Serializable
public class ClientSessionRemotelyClosedException extends ClientResourceRemotelyClosedException
Root exception type for cases of remote closure or client createdSession
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClientSessionRemotelyClosedException(java.lang.String message)
Creates a new session remotely closed exception.ClientSessionRemotelyClosedException(java.lang.String message, java.lang.Throwable cause)
Creates a new session remotely closed exception.ClientSessionRemotelyClosedException(java.lang.String message, java.lang.Throwable cause, ErrorCondition condition)
Creates a new session remotely closed exception.ClientSessionRemotelyClosedException(java.lang.String message, ErrorCondition condition)
Creates a new session remotely closed exception.
-
Method Summary
-
Methods inherited from class org.apache.qpid.protonj2.client.exceptions.ClientResourceRemotelyClosedException
getErrorCondition
-
-
-
-
Constructor Detail
-
ClientSessionRemotelyClosedException
public ClientSessionRemotelyClosedException(java.lang.String message)
Creates a new session remotely closed exception.- Parameters:
message
- The message that describes the reason for the remote closure.
-
ClientSessionRemotelyClosedException
public ClientSessionRemotelyClosedException(java.lang.String message, java.lang.Throwable cause)
Creates a new session 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.
-
ClientSessionRemotelyClosedException
public ClientSessionRemotelyClosedException(java.lang.String message, ErrorCondition condition)
Creates a new session 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.
-
ClientSessionRemotelyClosedException
public ClientSessionRemotelyClosedException(java.lang.String message, java.lang.Throwable cause, ErrorCondition condition)
Creates a new session 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.
-
-