to top
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
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.