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, isFailOverAllowed
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public final String getErrorCode()
getErrorCode
in interface XINSCallResultData
null
.public final Map<String,String> getParameters()
getParameters
in interface XINSCallResultData
Map
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 XINSCallResultData
Element
, can be null
;public final ErrorCodeSpec.Type getType()
ErrorCodeSpec.Type
, can be null
if it's unknown.See http://www.xins.org/.