Android APIs
public class

LoginException

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

Class Overview

Base class for exceptions that are thrown when a login error occurs.

Summary

Public Constructors
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.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public LoginException ()

Added in API level 1

Creates a new exception instance and initializes it with default values.

public LoginException (String message)

Added in API level 1

Creates a new exception instance and initializes it with a given message.

Parameters
message the error message