public class ActionResponse extends Object implements Serializable
isSuccess()
is true then the fault will always be null. The fault
will indicate why the action has failed. Any other transport/communication errors will be thrown as with any other API calls.Modifier and Type | Method and Description |
---|---|
static ActionResponse |
actionFailed(String message,
int code) |
static ActionResponse |
actionSuccess() |
int |
getCode()
Returns the underlying error code (status code)
|
String |
getFault() |
boolean |
isSuccess() |
String |
toString() |
public static ActionResponse actionSuccess()
public static ActionResponse actionFailed(String message, int code)
public int getCode()
public boolean isSuccess()
public String getFault()
Copyright © 2017. All rights reserved.