com.hazelcast.client

## Class ClientNotAllowedInClusterException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - com.hazelcast.core.HazelcastException
        - - com.hazelcast.client.ClientNotAllowedInClusterException

- All Implemented Interfaces:
    Serializable

      public class ClientNotAllowedInClusterException
      extends HazelcastException

  A `HazelcastException` that is thrown when client can not use this cluster. Example; - Cluster blacklisted client - Client and cluster partition count is different
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ClientNotAllowedInClusterException(String message)` Creates a AuthenticationException with the given message.

  - ### Method Summary

    - ### 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

    - #### ClientNotAllowedInClusterException

          public ClientNotAllowedInClusterException(String message)

      Creates a AuthenticationException with the given message.
      Parameters:
        `message` - the message.

Copyright © 2019. All rights reserved.