public class AuthenticationException
extends Exception
Modifier and Type | Field and Description |
---|---|
static int |
AUTHENTICATION_ERROR |
static int |
INVALID_USERNAME_PASSWORD |
static int |
UNKNOWN_ERROR |
Constructor and Description |
---|
AuthenticationException(int major,
int minor,
String msg)
Constructs a new instance with the specified major/minor and message.
|
AuthenticationException(int major,
int minor,
Throwable t)
Constructs a new instance with the specified major/minor and Throwable.
|
Modifier and Type | Method and Description |
---|---|
int |
getMajor() |
int |
getMinor() |
String |
toString() |
public static final int AUTHENTICATION_ERROR
public static final int UNKNOWN_ERROR
public static final int INVALID_USERNAME_PASSWORD
public AuthenticationException(int major, int minor, Throwable t)
major
- the major error value.minor
- the minor error value.t
- the base exception.public AuthenticationException(int major, int minor, String msg)
major
- the major error value.minor
- the minor error value.msg
- the base error message.