| Constructor and Description |
|---|
Status(String code,
String description)
Construct a new Status value.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
Retrieve the HTTP response code that would have been returned if a
single HTTP request had been used.
|
String |
getDescription()
Retrieve the human readable error message, or
null if the
operation was successful and there is no additional information. |
String |
toString() |
public Status(String code, String description)
code - The HTTP response code that would have been returned
if a single HTTP request had been used.description - A human readable error message, or null if
the operation was successful and there is no additional
information.public String getCode()
public String getDescription()
null if the
operation was successful and there is no additional information.null if the
operation was successful and there is no additional information.Copyright © 2011–2016 UnboundID. All rights reserved.