AuthenticationException (Apache Tomcat 9.0.121 API Documentation)
Description: declaration: package: org.apache.tomcat.websocket, class: AuthenticationException

# Class AuthenticationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.tomcat.websocket.AuthenticationException

All Implemented Interfaces:
  `Serializable`

public class AuthenticationException extends Exception
Exception thrown on authentication error connecting to a remote websocket endpoint.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AuthenticationException(String message)`
  Create authentication exception.

- ## Method Summary

  ### Methods inherited from class Throwable

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

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### AuthenticationException

    public AuthenticationException(String message)
    Create authentication exception.
    Parameters:
      `message` - the error message