#include <libppbase/base_soap/SOAPException.h>
Public Types | |
| enum | { errDOM = 1, errEmptyDocument, errNoParameters, errBadParameterStructure, errNoSuchAttachment, errOutOfMemory, errProtocol, errConfig, errIO, errDB, errBadClass, errMissingInstance, errLockInstance, errBadMethod, errBadArgument, errNoSuchChildNode, errNoSuchParameter, errTypeCast, errInputMissing, errSelectionMissing, errFileMissing, errFileTooSmall, errFileTooLarge, errInvalid, errInvalidChar, errBadLength, errTooShort, errTooLong, errDuplicate, errSigned, errPrecision, errPermissionDenied, errRemote } |
soap error codes More... | |
Public Member Functions | |
| SOAPException () | |
| Default constructor. | |
| SOAPException (int errcode, const char *fmt=NULL,...) | |
| Constructor. | |
| SOAPException (int errcode, const base::Exception &ex, const char *fmt=NULL,...) | |
| Constructor that takes a nested exception. | |
| SOAPException (const base::String &field, int errcode, size_t len=0, size_t min=0, size_t max=0, const base::String &character="", const char *fmt=NULL,...) | |
| Constructor for a field-related error (missing, invalid, bad length, invalid character...). | |
| virtual | ~SOAPException () throw () |
| Destructor. | |
| const char * | getCgiError () const |
| Gets the cgi error string. | |
| const base::String & | getChar () const |
| Gets the invalid character. | |
| const base::String & | getField () const |
| Gets the field name. | |
| size_t | getLength () const |
| Gets the field length. | |
| size_t | getMaxLength () const |
| Gets the maximum field length. | |
| size_t | getMinLength () const |
| Gets the minimum field length. | |
Static Public Attributes | |
| static const char * | _cgierrors [] |
| cgi error strings | |
SOAP exception.
| anonymous enum |
soap error codes
| base_soap::SOAPException::SOAPException | ( | int | errcode, | |
| const char * | fmt = NULL, |
|||
| ... | ||||
| ) |
Constructor.
| errcode | application-defined error code | |
| fmt | printf-like format string to take an additional error message | |
| ... | additional arguments for the format string |
| base_soap::SOAPException::SOAPException | ( | int | errcode, | |
| const base::Exception & | ex, | |||
| const char * | fmt = NULL, |
|||
| ... | ||||
| ) |
Constructor that takes a nested exception.
| errcode | the error code | |
| ex | the nested exception | |
| fmt | printf-like format string to take an additional error message | |
| ... | additional arguments for the format string |
| base_soap::SOAPException::SOAPException | ( | const base::String & | field, | |
| int | errcode, | |||
| size_t | len = 0, |
|||
| size_t | min = 0, |
|||
| size_t | max = 0, |
|||
| const base::String & | character = "", |
|||
| const char * | fmt = NULL, |
|||
| ... | ||||
| ) |
Constructor for a field-related error (missing, invalid, bad length, invalid character...).
| field | the field name | |
| errcode | the error code | |
| len | the current (bad) field length | |
| min | the minimum field length | |
| max | the maximum field length | |
| character | the invalid character | |
| fmt | printf-like format string to take an additional error message | |
| ... | additional arguments for the format string |
| const char* base_soap::SOAPException::getCgiError | ( | ) | const |
Gets the cgi error string.
| const base::String& base_soap::SOAPException::getChar | ( | ) | const |
Gets the invalid character.
| const base::String& base_soap::SOAPException::getField | ( | ) | const |
Gets the field name.
| size_t base_soap::SOAPException::getLength | ( | ) | const |
Gets the field length.
| size_t base_soap::SOAPException::getMaxLength | ( | ) | const |
Gets the maximum field length.
| size_t base_soap::SOAPException::getMinLength | ( | ) | const |
Gets the minimum field length.
1.7.1