ServerCnxn.CloseRequestException (Apache ZooKeeper - Server 3.7.0 API)
Date: 2021-03-17

org.apache.zookeeper.server

## Class ServerCnxn.CloseRequestException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.io.IOException
      - - org.apache.zookeeper.server.ServerCnxn.CloseRequestException

- All Implemented Interfaces:
    Serializable
  Enclosing class:
    ServerCnxn

      public static class ServerCnxn.CloseRequestException
      extends IOException

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CloseRequestException(String msg, ServerCnxn.DisconnectReason reason)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ServerCnxn.DisconnectReason` | `getReason()`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### CloseRequestException

          public CloseRequestException(String msg,
                                       ServerCnxn.DisconnectReason reason)

  - ### Method Detail

    - #### getReason

          public ServerCnxn.DisconnectReason getReason()

Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.