org.sdas.core.common
Interface IErrorInfo

All Superinterfaces:
IStruct
All Known Implementing Classes:
ErrorInfo

public interface IErrorInfo
extends IStruct

Information about error codes


Field Summary
static java.lang.String ERROR_CODE
          The xml-rpc struct error code.
static java.lang.String ERROR_TEXT
          The xml-rpc struct error text
 
Method Summary
 int getCode()
          Gets the error code, if it exists
 java.lang.String getText()
          Gets the error information, if it exists
 
Methods inherited from interface org.sdas.core.common.IStruct
getAsStruct
 

Field Detail

ERROR_CODE

static final java.lang.String ERROR_CODE
The xml-rpc struct error code.

See Also:
Constant Field Values

ERROR_TEXT

static final java.lang.String ERROR_TEXT
The xml-rpc struct error text

See Also:
Constant Field Values
Method Detail

getCode

int getCode()
Gets the error code, if it exists

Returns:
The error code

getText

java.lang.String getText()
Gets the error information, if it exists

Returns:
the error information