| java.lang.Object | |
| ↳ | com.google.gdata.util.ErrorElement |
A mutable ErrorContent to hold structured error information.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | GOOGLE_URI_PATTERN | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| errorCodeName | |||||||||||
| errorDebugInfo | |||||||||||
| errorDomainName | |||||||||||
| errorExtendedHelp | |||||||||||
| errorInternalReason | |||||||||||
| errorLocation | |||||||||||
| errorLocationType | |||||||||||
| errorSendReport | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Gets the name of this ErrorInfo, which must be unique within
its domain.
| |||||||||||
Returns debugging information.
| |||||||||||
Return the error domain.
| |||||||||||
Gets the extended help URI.
| |||||||||||
Gets the internal reason (unlocalized explanation) associated with this
ErrorInfo.
| |||||||||||
Return the location of the error.
| |||||||||||
Return the type of error location.
| |||||||||||
Gets the URI to which a report should be sent when this error
is received.
| |||||||||||
Set the codename.
| |||||||||||
Set debugging information.
| |||||||||||
Set the domain name.
| |||||||||||
Set URI for extended help.
| |||||||||||
Set header name for an error in a header.
| |||||||||||
Set the error's internal reason.
| |||||||||||
Set a generic error location, using
OTHER
as the location type. | |||||||||||
Set the location and location type.
| |||||||||||
Set URI to send report to.
| |||||||||||
Set XPath-based error location.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.util.ErrorContent
| |||||||||||
Gets the name of this ErrorInfo, which must be unique within
its domain. The value will appear as the content of the code
element in the XML error format.
Returns debugging information.
Return the error domain.
Gets the extended help URI. This can be used to retrieve a
detailed explanation of the error code. The value will appear
as the content of the extendedHelp element in the XML
error format.
Gets the internal reason (unlocalized explanation) associated with this
ErrorInfo. The value will appear as the content of the
internalReason element in the XML error format.
Return the location of the error.
Return the type of error location. See ErrorContent.LocationType
for the available values.
Gets the URI to which a report should be sent when this error
is received. The value will appear as the content of the
sendReport element in the XML error format.
Set the codename.
| codeName |
|---|
| NullPointerException | if codeName is null.
|
|---|
Set debugging information.
| debugInfo |
|---|
| NullPointerException | if debugInfo is null.
|
|---|
Set the domain name.
| domainName |
|---|
| NullPointerException | if domainName is null.
|
|---|
Set URI for extended help.
| extendedHelp |
|---|
| NullPointerException | if extendedHelp is null. |
|---|---|
| IllegalArgumentException | if extendedHelp isn't a valid
google URI.
|
Set header name for an error in a header.
| location |
|---|
| NullPointerException | if location is null.
|
|---|
Set the error's internal reason.
| internalReason |
|---|
| NullPointerException | if internalReason is null.
|
|---|
Set a generic error location, using OTHER
as the location type.
| location |
|---|
| NullPointerException | if location is null.
|
|---|
Set the location and location type.
| location | |
|---|---|
| locationType |
| NullPointerException | if location or locationType
are null.
|
|---|
Set URI to send report to.
| sendReport |
|---|
| NullPointerException | if extendedHelp is null. |
|---|---|
| IllegalArgumentException | if extendedHelp isn't a valid
google URI.
|
Set XPath-based error location.
This must be a valid XPath expression sibling to the atom:entry element (or the atom:feed element if we are not in an entry).
| location |
|---|
| NullPointerException | if location is null.
|
|---|