javax.security.auth.message

## Class AuthException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.security.GeneralSecurityException
      - - javax.security.auth.login.LoginException
        - - javax.security.auth.message.AuthException

- All Implemented Interfaces:
    Serializable

      public class AuthException
      extends LoginException

  A generic authentication exception.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AuthException()` Constructs an AuthException with no detail message.
    `AuthException(String msg)` Constructs an AuthException with the specified detail 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

    - #### AuthException

          public AuthException()

      Constructs an AuthException with no detail message. A detail message is a String that describes this particular exception.

    - #### AuthException

          public AuthException(String msg)

      Constructs an AuthException with the specified detail message. A detail message is a String that describes this particular exception.

      Parameters:
        `msg` - The detail message.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.