public class AuthenticationException extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
static int |
BAD_USER
set this type if the auth failed due to bad pw or username
|
static int |
NORMAL
set this type if the exception is normal. this is the default.
|
static int |
USER_CANCEL
set this type if the exception is thrown because the user canceled the
action
|
Constructor and Description |
---|
AuthenticationException()
constructor
|
AuthenticationException(java.lang.String msg)
constructor
|
AuthenticationException(java.lang.String msg,
java.lang.Throwable cause)
constructor
|
AuthenticationException(java.lang.Throwable cause)
constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getType()
get the type of this exception
|
void |
setType(int type)
set the type of this exception
|
public static int USER_CANCEL
public static int NORMAL
public static int BAD_USER
public AuthenticationException()
public AuthenticationException(java.lang.String msg)
public AuthenticationException(java.lang.String msg, java.lang.Throwable cause)
public AuthenticationException(java.lang.Throwable cause)