public final class PositionError
extends java.lang.Throwable
Modifier and Type | Field and Description |
---|---|
static int |
PERMISSION_DENIED
The user declined access to their position to this application.
|
static int |
POSITION_UNAVAILABLE
The browser was unable to locate the user.
|
static int |
TIMEOUT
The browser was unable to locate the user in enough time.
|
static int |
UNKNOWN_ERROR
An unknown error occurred.
|
Constructor and Description |
---|
PositionError(int code,
java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Returns the error code associated with this error.
|
public static final int UNKNOWN_ERROR
public static final int PERMISSION_DENIED
public static final int POSITION_UNAVAILABLE
public static final int TIMEOUT