public class UnsuccessfulXINSCallException extends XINSCallException implements XINSCallResultData
| Modifier and Type | Method and Description |
|---|---|
Element |
getDataElement()
Returns the optional extra data.
|
String |
getErrorCode()
Returns the error code.
|
String |
getParameter(String name)
Gets the value of the specified returned parameter.
|
Map<String,String> |
getParameters()
Gets all returned parameters.
|
ErrorCodeSpec.Type |
getType()
Returns the type of the error code.
|
getDetail, getDuration, getMessage, getNext, getRequest, getTarget, isFailOverAllowedaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic final String getErrorCode()
getErrorCode in interface XINSCallResultDatanull.public final Map<String,String> getParameters()
getParameters in interface XINSCallResultDataMap containing all parameters, or
null if there are none.public final String getParameter(String name) throws IllegalArgumentException
name - the parameter name, not null.null if there is no values.IllegalArgumentException - if name == null.public final Element getDataElement()
getDataElement in interface XINSCallResultDataElement, can be null;public final ErrorCodeSpec.Type getType()
ErrorCodeSpec.Type, can be null if it's unknown.See http://www.xins.org/.