NonStop SOAP User's Manual

Customizing the SOAP Server
NonStop SOAP User’s Manual520501-012
8-24
class SOAP_Exception
INTERNAL_ERR = 32,
OUT_OF_MEMORY = 33,
INVALID_SOAP_VERSION = 34,
TYPE_NOT_FOUND = 35,
DDL_ERR = 36,
DUP_HEADER_ID = 37};
Public Methods
Constructors and Operators
SOAP_Exception(short ecode, const char *msg)
This constructor creates a SOAP_Exception using the error code value and the
parsed message.
The
ecode
parameter is the error code pertaining to the exception condition.
The
msg
parameter describes the exception condition.
SOAP_Exception(const SOAP_Exception &)
This is the copy constructor. The constructor duplicates the content of a
SOAP_Exception object.
SOAP_Exception & operator=(const SOAP_Exception &)
This is an assignment operator and duplicates an existing exception object.
getMessage()
This method returns the message contained within a SOAP_Exception.
Returns the message describing the error condition.
getErrorCode()
This method returns the error code contained within a SOAP_Exception.
Returns the error code pertaining to the exception condition.
string message
This method holds the error message.
short errorCode
This method holds the error code.