|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.xins.common.service.CallException org.xins.client.XINSCallException org.xins.client.UnsuccessfulXINSCallException
Exception that indicates that a result code was returned by the API call.
Method Summary | |
DataElement |
getDataElement()
Returns the optional extra data. |
String |
getErrorCode()
Returns the error code. |
String |
getParameter(String name)
Gets the value of the specified returned parameter. |
PropertyReader |
getParameters()
Gets all returned parameters. |
ErrorCodeSpec.Type |
getType()
Returns the type of the error code. |
Methods inherited from class org.xins.common.service.CallException |
getDetail, getDuration, getMessage, getNext, getRequest, getTarget |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public final String getErrorCode()
getErrorCode
in interface XINSCallResultData
null
.public final PropertyReader getParameters()
getParameters
in interface XINSCallResultData
PropertyReader
containing all parameters, or
null
if there are none.public final String getParameter(String name) throws IllegalArgumentException
name
- the parameter name, not null
.
null
.
IllegalArgumentException
- if name == null
.public final DataElement getDataElement()
getDataElement
in interface XINSCallResultData
DataElement
, can be null
;public final ErrorCodeSpec.Type getType()
ErrorCodeSpec.Type
, can be null
if it's unknown.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |