public interface Status extends Serializable
Modifier and Type | Interface and Description |
---|---|
static class |
Status.StatusType
Status type enum.
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Get error message describing an error.
|
String |
getStackDump()
Get stack dump where error (exception) happened.
|
Status.StatusType |
getType()
Get status type.
|
boolean |
isOK()
Convenient OK test.
|
boolean |
isSuccess()
Check if operation succeeded.
|
deserialize, serialize
Status.StatusType getType()
null
.String getMessage()
String getStackDump()
boolean isOK()
(getType() == StatusType.OK)
.
NOTE: this will return false
on WARNING message although operation succeeded.
To check if operation succeeded, use isSuccess
.isSuccess()
boolean isSuccess()
Copyright © 2014. All Rights Reserved.