|
OpenTop 1.3 | |||||
| PREV EXCEPTION NEXT EXCEPTION | FRAMES NO FRAMES | Cross-Platform C++ | ||||
| SUMMARY: CONSTRUCTOR | METHOD | DETAIL: CONSTRUCTOR | METHOD | |||||
#include "ot/sax/SAXParseException.h"

This exception may include information for locating the error in the original XML document, as if it came from a Locator object. Note that although the application will receive a SAXParseException as the argument to the handlers in the ErrorHandler interface, the application is not actually required to throw the exception; instead, it can simply read the information in it and take a different action.
| Constructor/Destructor Summary | |
SAXParseException(const String& message, const Locator& locator)Create a new SAXParseException from a message and a Locator. | |
SAXParseException(const String& message, const String& publicId, const String& systemId, long lineNumber, long columnNumber)Create a new SAXParseException. | |
| Method Summary | |
virtual long |
getColumnNumber() constReturns the column number of the end of the text where the exception occurred. |
virtual String |
getExceptionType() constReturns the class name as a String. |
virtual long |
getLineNumber() constReturns the line number of the end of the text where the exception occurred. |
virtual String |
getPublicId() constGet the public identifier of the entity where the exception occurred. |
virtual String |
getSystemId() constGet the system identifier of the entity where the exception occurred. |
| Methods inherited from class ot::Exception |
getDescription, getLocalizedDescription, getMessage, setMessage, toString |
| Constructor/Destructor Detail |
SAXParseException(const String& message,
const Locator& locator)
message - locator - SAXParseException(const String& message,
const String& publicId,
const String& systemId,
long lineNumber,
long columnNumber)
message - publicId - systemId - lineNumber - columnNumber - | Method Detail |
virtual long getColumnNumber() const
The first column in a line is position 1.
virtual String getExceptionType() const
virtual long getLineNumber() const
The first line is line 1.
virtual String getPublicId() const
virtual String getSystemId() const
|
OpenTop 1.3 | |||||
| PREV EXCEPTION NEXT EXCEPTION | FRAMES NO FRAMES | Cross-Platform C++ | ||||
| SUMMARY: CONSTRUCTOR | METHOD | DETAIL: CONSTRUCTOR | METHOD | |||||