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:
- Serializable
- Direct Known Subclasses:
- ClientLinkRemotelyClosedException,- ClientSessionRemotelyClosedException
Root exception type for cases of remote closure or client created resources other
 than the Client 
Connection which will throw exceptions rooted from the
 ClientConnectionRemotelyClosedException to indicate a fatal connection
 level error that requires a new connection to be created.- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionCreates a new resource remotely closed exception.ClientResourceRemotelyClosedException(String message, Throwable cause) Creates a new resource remotely closed exception.ClientResourceRemotelyClosedException(String message, Throwable cause, ErrorCondition condition) Creates a new resource remotely closed exception.ClientResourceRemotelyClosedException(String message, ErrorCondition condition) Creates a new resource remotely closed exception.
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
ClientResourceRemotelyClosedExceptionCreates a new resource remotely closed exception.- Parameters:
- message- The message that describes the reason for the remote closure.
 
- 
ClientResourceRemotelyClosedExceptionCreates a new resource 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.
 
- 
ClientResourceRemotelyClosedExceptionCreates a new resource remotely closed exception.- Parameters:
- message- The message that describes the reason for the remote closure.
- condition- An- ErrorConditionthat provides additional information about the close reason.
 
- 
ClientResourceRemotelyClosedExceptionpublic ClientResourceRemotelyClosedException(String message, Throwable cause, ErrorCondition condition) Creates a new resource 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- An- ErrorConditionthat provides additional information about the close reason.
 
 
- 
- 
Method Details- 
getErrorCondition- Returns:
- the ErrorConditionthat was provided by the remote to describe the cause of the close.
 
 
-