com.incesoft.botplatform.sdk
Class RobotException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.incesoft.botplatform.sdk.RobotException
- All Implemented Interfaces:
- java.io.Serializable
public class RobotException
- extends java.lang.Exception
Thrown when a robot server or your request encounters an error.
- Author:
- LiBo
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ERROR_LOCAL
public static final int ERROR_LOCAL
- See Also:
- Constant Field Values
ERROR_EXCEED_CONNECTION_LIMIT
public static final int ERROR_EXCEED_CONNECTION_LIMIT
- See Also:
- Constant Field Values
ERROR_INVALID_SPID
public static final int ERROR_INVALID_SPID
- See Also:
- Constant Field Values
ERROR_SERVER_ERROR
public static final int ERROR_SERVER_ERROR
- See Also:
- Constant Field Values
ERROR_ACCOUNT_NOT_BOUND
public static final int ERROR_ACCOUNT_NOT_BOUND
- See Also:
- Constant Field Values
ERROR_REQUEST_TOO_FREQUENTLY
public static final int ERROR_REQUEST_TOO_FREQUENTLY
- See Also:
- Constant Field Values
ERROR_NO_IDLE_SERVER
public static final int ERROR_NO_IDLE_SERVER
- See Also:
- Constant Field Values
ERROR_RESOURCE_NOT_FOUND
public static final int ERROR_RESOURCE_NOT_FOUND
- See Also:
- Constant Field Values
ERROR_PRIVILEGE_LIMITED
public static final int ERROR_PRIVILEGE_LIMITED
- See Also:
- Constant Field Values
ERROR_INVITE_USER_FAILED
public static final int ERROR_INVITE_USER_FAILED
- See Also:
- Constant Field Values
ERROR_CREATE_SESSION_FAILED
public static final int ERROR_CREATE_SESSION_FAILED
- See Also:
- Constant Field Values
ERROR_CALL_TOO_FREQUENTLY
public static final int ERROR_CALL_TOO_FREQUENTLY
- See Also:
- Constant Field Values
ERROR_PROVISION_ACCOUNT_DOESNOT_SUPPORT
public static final int ERROR_PROVISION_ACCOUNT_DOESNOT_SUPPORT
- See Also:
- Constant Field Values
ERROR_DATA_LENGTH_LIMITED
public static final int ERROR_DATA_LENGTH_LIMITED
- See Also:
- Constant Field Values
RobotException
public RobotException()
RobotException
public RobotException(java.lang.String message)
RobotException
public RobotException(int code,
java.lang.String message)
RobotException
public RobotException(java.lang.String message,
java.lang.Throwable cause)
RobotException
public RobotException(java.lang.Throwable cause)
getErrorCode
public int getErrorCode()
setErrorCode
public void setErrorCode(int errorCode)