Added in API level 36
WatchFacePushManager.ListException
public
static
class
WatchFacePushManager.ListException
extends RuntimeException
| java.lang.Object | ||||
| ↳ | java.lang.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | java.lang.RuntimeException | |||
| ↳ | com.google.wear.services.watchfaces.watchfacepush.WatchFacePushManager.ListException | |||
Exception representing an error of the WatchFacePushManager.listWatchFaceSlots
method.
Summary
Fields | |
|---|---|
public
static
final
int |
LIST_UNKNOWN_ERROR
Unknown error while listing watch faces. |
Public constructors | |
|---|---|
ListException(int errorCode)
|
|
ListException(Throwable cause)
|
|
Public methods | |
|---|---|
int
|
getErrorCode()
|
Inherited methods | |
|---|---|
Fields
LIST_UNKNOWN_ERROR
Added in API level 36
public static final int LIST_UNKNOWN_ERROR
Unknown error while listing watch faces.
Public constructors
ListException
Added in API level 36
public ListException (int errorCode)
| Parameters | |
|---|---|
errorCode |
int: Value is one of the following:
|
ListException
Added in API level 36
public ListException (Throwable cause)
| Parameters | |
|---|---|
cause |
Throwable |
Public methods
getErrorCode
Added in API level 36
public int getErrorCode ()
| Returns | |
|---|---|
int |
Value is one of the following: |