lightbulb_outline Please take our October 2018 developer survey. Start survey
added in API level 1

LoginException

public class LoginException
extends GeneralSecurityException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.security.GeneralSecurityException
         ↳ javax.security.auth.login.LoginException


This is the basic login exception.

Summary

Public constructors

LoginException()

Constructs a LoginException with no detail message.

LoginException(String msg)

Constructs a LoginException with the specified detail message.

Inherited methods

Public constructors

LoginException

added in API level 1
public LoginException ()

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

LoginException

added in API level 1
public LoginException (String msg)

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

Parameters
msg String: the detail message.