Package javax.security.auth.login
Class LoginException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.security.GeneralSecurityException
-
- javax.security.auth.login.LoginException
-
- All Implemented Interfaces:
Serializable
public class LoginException extends GeneralSecurityException
Base class for exceptions that are thrown when a login error occurs.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LoginException()Creates a new exception instance and initializes it with default values.LoginException(String message)Creates a new exception instance and initializes it with a given message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
LoginException
public LoginException()
Creates a new exception instance and initializes it with default values.
-
LoginException
public LoginException(String message)
Creates a new exception instance and initializes it with a given message.- Parameters:
message- the error message
-
-