|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable com.google.gwt.geolocation.client.PositionError
public final class PositionError
Represents an error that occurred while trying to get the user's current position.
Field Summary | |
---|---|
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 Summary | |
---|---|
PositionError(int code,
java.lang.String message)
|
Method Summary | |
---|---|
int |
getCode()
Returns the error code associated with this error. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int UNKNOWN_ERROR
public static final int PERMISSION_DENIED
public static final int POSITION_UNAVAILABLE
public static final int TIMEOUT
Constructor Detail |
---|
PositionError(int code, java.lang.String message)
Method Detail |
---|
public int getCode()
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |