public class ErrorResponse extends Object
Constructor and Description |
---|
ErrorResponse() |
ErrorResponse(int httpcode,
String message,
String context,
String other) |
Modifier and Type | Method and Description |
---|---|
DapException |
buildException()
Convert an ErrorResponse to the equivalent DapException.
|
String |
buildXML()
Convert an ErrorResponse to the equivalent XML
|
int |
getCode() |
String |
getContext() |
String |
getMessage() |
String |
getOtherInfo() |
String |
getRawContext() |
String |
getRawMessage() |
String |
getRawOtherInfo() |
void |
setCode(int code) |
void |
setContext(String context) |
void |
setMessage(String message) |
void |
setOtherInfo(String other) |
public int getCode()
public String getRawMessage()
public String getMessage()
public String getRawContext()
public String getContext()
public String getRawOtherInfo()
public String getOtherInfo()
public void setCode(int code)
public void setMessage(String message)
public void setContext(String context)
public void setOtherInfo(String other)
public String buildXML()
public DapException buildException()
Copyright © 1999–2018 UCAR/Unidata. All rights reserved.