Package com.zeroc.Ice

Class ConnectionClosedException

All Implemented Interfaces:
Serializable

public final class ConnectionClosedException extends LocalException
The exception that is thrown when an operation fails because the connection has been closed gracefully.
See Also:
  • Field Details

    • closedByApplication

      public final boolean closedByApplication
      Indicates whether the connection was closed by the application.
  • Constructor Details

    • ConnectionClosedException

      public ConnectionClosedException(String message, boolean closedByApplication)
      Constructs a ConnectionClosedException.
      Parameters:
      message - the detail message
      closedByApplication - indicates whether the connection was closed by the application
  • Method Details

    • ice_id

      public String ice_id()
      Description copied from class: LocalException
      Returns the type ID of this exception.
      Overrides:
      ice_id in class LocalException
      Returns:
      the type ID of this exception