public class ErrorDetails extends Object
{
"domain": "global",
"reason": "internalError",
"message": "Internal Error"
}
Date: 1/16/11| Constructor and Description |
|---|
ErrorDetails() |
ErrorDetails(String domain,
String reason,
String message) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDomain() |
String |
getLocation()
location, if present, specifies the location in the request that caused the error,
e.g.
|
String |
getLocationType()
locationType, if present, specifies what part of the request has an error.
|
String |
getMessage()
message is a human readable explanation of the error.
|
String |
getReason()
reason specifies the error reason.
|
void |
setDomain(String domain) |
void |
setLocation(String location)
location, if present, specifies the location in the request that caused the error,
e.g.
|
void |
setLocationType(String locationType)
locationType, if present, specifies what part of the request has an error.
|
void |
setMessage(String message)
message is a human readable explanation of the error.
|
void |
setReason(String reason)
reason specifies the error reason.
|
String |
toString() |
public String getDomain()
public void setDomain(String domain)
public String getReason()
public void setReason(String reason)
public String getMessage()
public void setMessage(String message)
public String getLocationType()
public void setLocationType(String locationType)
public String getLocation()
public void setLocation(String location)
Copyright © 2011-2013. All Rights Reserved.