ews-cpp  0.9
Public Member Functions | List of all members
ews::schema_validation_error Class Referencefinal

A SOAP fault that is raised when we sent invalid XML. More...

#include <ews.hpp>

Inheritance diagram for ews::schema_validation_error:
ews::soap_fault ews::exception

Public Member Functions

 schema_validation_error (unsigned long line_number, unsigned long line_position, std::string violation)
 
unsigned long line_number () const EWS_NOEXCEPT
 Line number in request string where the error was found.
 
unsigned long line_position () const EWS_NOEXCEPT
 Column number in request string where the error was found.
 
const std::string & violation () const EWS_NOEXCEPT
 A more detailed explanation of what went wrong.
 
- Public Member Functions inherited from ews::soap_fault
 soap_fault (const std::string &what)
 
 soap_fault (const char *what)
 
- Public Member Functions inherited from ews::exception
 exception (const std::string &what)
 
 exception (const char *what)
 

Detailed Description

A SOAP fault that is raised when we sent invalid XML.

This is an internal error and indicates a bug in this library, thus should never happen.

Note: because this exception is due to a SOAP fault (sometimes recognized before any server-side XML parsing finished) any included failure message is likely not localized according to any MailboxCulture SOAP header.


The documentation for this class was generated from the following file: