com.hazelcast.client

## Class AuthenticationException

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

- All Implemented Interfaces:
    Serializable

      public class AuthenticationException
      extends HazelcastException

  A `HazelcastException` that is thrown when there is an Authentication failure: e.g. credentials from client is not valid.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AuthenticationException()` Creates a AuthenticationException with a default message.
    `AuthenticationException(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

    - #### AuthenticationException

          public AuthenticationException()

      Creates a AuthenticationException with a default message.

    - #### AuthenticationException

          public AuthenticationException(String message)

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

Copyright © 2018. All rights reserved.