|
Oracle Application Server Wireless J2ME SDK API Reference B14045-01 |
|||||||||
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
oracle.wireless.me.core.ServiceException
An exception that provides information on any error occurred when invoking the service.
Field Summary | |
static int |
CACHE_FAILURE Failure in cache (RMS record store) used to store queued calls and to caches responses. |
static int |
CACHE_IO_ERROR Error serializing or deserializing call or response for queue or cache. |
static int |
CONNECTION_FAILED Connection to proxy server failed. |
static int |
INVALID_ACK Invalid acknowledgement received during packetized request. |
static int |
INVALID_CALL Call object is not valid. |
static int |
INVALID_KEY Invalid call key used during queue or cache operation. |
static int |
INVALID_PACKET Invalid response packet received. |
static int |
INVALID_RECORD_ID Invalid RMS record id used during queue or cache operation. |
static int |
REMOTE_ERROR Error returned from the server. |
static int |
RESPONSE_EMPTY A response was cached, but it has no data. |
static int |
UNKNOWN_CODE Unknown error. |
static int |
UNKNOWN_RECORD_TYPE Invalid record store type used during queueing or caching operation. |
static int |
UNSUPPORTED_PARAM_TYPE Unsupported remote call parameter. |
static int |
WRONG_RESPONSE_TYPE Return type is not of this type. |
Constructor Summary | |
ServiceException() Creates new ServiceException without detail message. |
|
ServiceException(java.lang.String msg) Constructs an ServiceException with the specified detail message. |
|
ServiceException(java.lang.String msg, int errCode) Constructs an ServiceException with the specified detail message and the status of the connection. |
Method Summary | |
int |
getErrorCode() Return the error code |
Methods inherited from class java.lang.Throwable |
getMessage, printStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int UNKNOWN_CODE
public static final int CONNECTION_FAILED
public static final int INVALID_CALL
public static final int UNKNOWN_RECORD_TYPE
public static final int CACHE_FAILURE
public static final int RESPONSE_EMPTY
public static final int CACHE_IO_ERROR
public static final int UNSUPPORTED_PARAM_TYPE
public static final int INVALID_RECORD_ID
public static final int WRONG_RESPONSE_TYPE
public static final int INVALID_KEY
public static final int INVALID_ACK
public static final int INVALID_PACKET
public static final int REMOTE_ERROR
Constructor Detail |
public ServiceException()
ServiceException
without detail message.public ServiceException(java.lang.String msg)
ServiceException
with the specified detail message.msg
- the detail message.public ServiceException(java.lang.String msg, int errCode)
ServiceException
with the specified detail message and the status of the connection.msg
- the detail message.Method Detail |
public int getErrorCode()
|
Oracle Application Server Wireless J2ME SDK API Reference B14045-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |