Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.messaging.xms
Class XMSException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byoracle.panama.messaging.push.PushException
              extended byoracle.panama.messaging.xms.XMSException

All Implemented Interfaces:
java.io.Serializable

public class XMSException
extends PushException

Thrown to indicate any exceptional conditions to the applications using the XMS API.

See Also:
Serialized Form

Field Summary

Fields inherited from class oracle.panama.messaging.push.PushException
BAD_USER_OR_PASSWORD, CAN_NOT_CREATE_MESSAGING_SERVER_OBJ, ILLEGAL_ADDRESS, ILLEGAL_RECIPIENT_ADDRESS, INVALID_VALUE, NO_FROM_ADDRESS, NO_MESSAGE_BODY, NO_MESSAGE_ENCODING, NO_MESSAGE_PART, NO_MESSAGING_GATEWAY, NO_RECIPIENTS, NO_RESPONSE_DATA, NO_TRANSPORT, NOT_SUPPORTED_BY_SERVER, SQL_EXCEPTION, TRANSPORT_EXCEPTION, UNKNOW_EXCEPTION, UNSUPPORTED_VERSION

Constructor Summary
XMSException(java.lang.String reason)
XMSException(java.lang.String reason, java.lang.Throwable detail)
Construct a XMSException with a nested exception, the message will be derived from the nested exception.
XMSException(java.lang.Throwable detail)
Construct a XMSException with a nested exception, the message will be derived from the nested exception.

Method Summary
java.lang.Throwable getDetail()
Get the nested exception.

Methods inherited from class oracle.panama.messaging.push.PushException
getErrorCode

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

Constructor Detail

XMSException

public XMSException(java.lang.String reason)

XMSException

public XMSException(java.lang.String reason,
                    java.lang.Throwable detail)
Construct a XMSException with a nested exception, the message will be derived from the nested exception.
Parameters:
detail - the nested exception.
See Also:
getDetail()

XMSException

public XMSException(java.lang.Throwable detail)
Construct a XMSException with a nested exception, the message will be derived from the nested exception.
Parameters:
detail - the nested exception.
See Also:
getDetail()

Method Detail

getDetail

public java.lang.Throwable getDetail()
Get the nested exception.
Returns:
the nested exception.

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.