Package | Description |
---|---|
org.astrogrid.samp |
Classes common to SAMP hub and client code.
|
Modifier and Type | Method and Description |
---|---|
static ErrInfo |
ErrInfo.asErrInfo(java.util.Map map)
Returns a given map as an ErrInfo object.
|
ErrInfo |
Response.getErrInfo()
Returns the error object.
|
Modifier and Type | Method and Description |
---|---|
static Response |
Response.createErrorResponse(ErrInfo errinfo)
Returns a new response which is an error.
|
Constructor and Description |
---|
Response(java.lang.String status,
java.util.Map result,
ErrInfo errinfo)
Constructs a response with given status, result and error.
|