| java.lang.Object | |
| ↳ | com.google.api.gbase.client.ServiceError |
One error found in the body of a
ServiceException
or in the content of a
BatchStatus.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | DATA_TYPE | The {@value #DATA_TYPE} error type. | |||||||||
| String | REQUEST_TYPE | The {@value #REQUEST_TYPE} error type. | |||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| field | |||||||||||
| reason | |||||||||||
| type | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new error.
| |||||||||||
Creates a new error with just an error message.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Gets the error field.
| |||||||||||
Gets the error message (plain text).
| |||||||||||
Gets the error type.
| |||||||||||
Returns a convenient string representation.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
The {@value #DATA_TYPE} error type.
The {@value #REQUEST_TYPE} error type.
Creates a new error.
| type | Error type, may be null, DATA_TYPE
or REQUEST_TYPE |
|---|---|
| field | Error field, may be null |
| reason | Error message |
Creates a new error with just an error message.
| reason | Error message |
|---|
Gets the error field.
Gets the error message (plain text).
Gets the error type.
Returns a convenient string representation.