|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ReasonType>
com.google.visualization.datasource.base.ReasonType
public enum ReasonType
Possible reasons for errors or warnings.
| Enum Constant Summary | |
|---|---|
ACCESS_DENIED
The user has no access to the requested data. |
|
DATA_TRUNCATED
Not all data is retrieved. |
|
ILLEGAL_FORMATTING_PATTERNS
Illegal user given formatting patterns. |
|
INTERNAL_ERROR
An internal error occured. |
|
INVALID_QUERY
The query sent to the data source contains invalid data. |
|
INVALID_REQUEST
The request from the client is invalid. |
|
NOT_MODIFIED
The data hasn't been changed (signatures are the same). |
|
NOT_SUPPORTED
This operation is not supported. |
|
OTHER
Any other error that occured and prevented the data source from completing the action. |
|
TIMEOUT
The request has timed out. |
|
UNSUPPORTED_QUERY_OPERATION
The query sent to the data source contains an operation that the data source does not support. |
|
USER_NOT_AUTHENTICATED
The user cannot be authenticated. |
|
| Method Summary | |
|---|---|
java.lang.String |
getMessageForReasonType()
Returns a message for this reason type in the default locale. |
java.lang.String |
getMessageForReasonType(java.util.Locale locale)
Returns a localized message for this reason type and locale. |
java.lang.String |
lowerCaseString()
Returns a lower case string of this enum. |
static ReasonType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ReasonType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ReasonType ACCESS_DENIED
public static final ReasonType USER_NOT_AUTHENTICATED
public static final ReasonType UNSUPPORTED_QUERY_OPERATION
public static final ReasonType INVALID_QUERY
public static final ReasonType INVALID_REQUEST
public static final ReasonType INTERNAL_ERROR
public static final ReasonType NOT_SUPPORTED
public static final ReasonType DATA_TRUNCATED
public static final ReasonType NOT_MODIFIED
public static final ReasonType TIMEOUT
public static final ReasonType ILLEGAL_FORMATTING_PATTERNS
public static final ReasonType OTHER
| Method Detail |
|---|
public static ReasonType[] values()
for (ReasonType c : ReasonType.values()) System.out.println(c);
public static ReasonType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String getMessageForReasonType(java.util.Locale locale)
locale - The locale.
public java.lang.String getMessageForReasonType()
public java.lang.String lowerCaseString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||