Class ClientResourceRemotelyClosedException

    • Constructor Detail

      • ClientResourceRemotelyClosedException

        public ClientResourceRemotelyClosedException​(java.lang.String message)
        Creates a new resource remotely closed exception.
        Parameters:
        message - The message that describes the reason for the remote closure.
      • ClientResourceRemotelyClosedException

        public ClientResourceRemotelyClosedException​(java.lang.String message,
                                                     java.lang.Throwable cause)
        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.
      • ClientResourceRemotelyClosedException

        public ClientResourceRemotelyClosedException​(java.lang.String message,
                                                     ErrorCondition condition)
        Creates a new resource remotely closed exception.
        Parameters:
        message - The message that describes the reason for the remote closure.
        condition - An ErrorCondition that provides additional information about the close reason.
      • ClientResourceRemotelyClosedException

        public ClientResourceRemotelyClosedException​(java.lang.String message,
                                                     java.lang.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 ErrorCondition that provides additional information about the close reason.
    • Method Detail

      • getErrorCondition

        public ErrorCondition getErrorCondition()
        Returns:
        the ErrorCondition that was provided by the remote to describe the cause of the close.