#include <SaxonProcessor.h>
|
| SaxonApiException () |
|
| SaxonApiException (const SaxonApiException &ex) |
|
| SaxonApiException (const char *ec, const char *exM) |
|
| SaxonApiException (const char *ec, const char *exM, bool typeErr, bool stat, bool glob, int l) |
|
void | add (const char *ec, const char *exM, bool typeErr, bool stat, bool glob, int l) |
|
| ~SaxonApiException () |
|
const char * | getErrorCode (int i) |
|
int | getLineNumber (int i) |
|
bool | isGlobalError (int i) |
|
bool | isStaticError (int i) |
|
bool | isTypeError (int i) |
|
void | clear () |
|
int | count () |
|
const char * | getErrorMessage (int i) |
|
const char * | getErrorMessages () |
|
MyException | getException (int i) |
|
SaxonApiException
. An exception thrown by the Saxon s9api API (Java). This is always a C++ wrapper for some other underlying exception in Java
◆ SaxonApiException() [1/4]
SaxonApiException::SaxonApiException |
( |
| ) |
|
|
inline |
◆ SaxonApiException() [2/4]
A Copy constructor. Create a SaxonApiException
- Parameters
-
ex | - The exception object to copy |
◆ SaxonApiException() [3/4]
SaxonApiException::SaxonApiException |
( |
const char * |
ec, |
|
|
const char * |
exM |
|
) |
| |
|
inline |
A constructor. Create a SaxonApiException
- Parameters
-
ec | - The error code of the underlying exception thrown, if known |
exM | - The error message of the underlying exception thrown, if known |
◆ SaxonApiException() [4/4]
SaxonApiException::SaxonApiException |
( |
const char * |
ec, |
|
|
const char * |
exM, |
|
|
bool |
typeErr, |
|
|
bool |
stat, |
|
|
bool |
glob, |
|
|
int |
l |
|
) |
| |
|
inline |
A constructor. Create a SaxonApiException
- Parameters
-
ec | - The error code of the underlying exception thrown, if known |
exM | - The error message of the underlying exception thrown, if known |
typeErr | - Flag indicating if the error is a type error |
stat | - Flag indicating a static error |
glob | - Flag for if the error is global |
l | - Line number information of where the error occurred |
◆ ~SaxonApiException()
SaxonApiException::~SaxonApiException |
( |
| ) |
|
|
inline |
◆ add()
void SaxonApiException::add |
( |
const char * |
ec, |
|
|
const char * |
exM, |
|
|
bool |
typeErr, |
|
|
bool |
stat, |
|
|
bool |
glob, |
|
|
int |
l |
|
) |
| |
|
inline |
Creates a SaxonApiException and adds it to a vector of exceptions
- Parameters
-
ec | - The error code of the underlying exception thrown, if known |
exM | - The error message of the underlying exception thrown, if known |
typeErr | - Flag indicating if the error is a type error |
stat | - Flag indicating a static error |
glob | - Flag for if the error is global |
l | - Line number information of where the error occurred |
◆ getErrorCode()
const char* SaxonApiException::getErrorCode |
( |
int |
i | ) |
|
|
inline |
Get the error code associated with the ith exception in the vector, if there is one
- Parameters
-
i | - ith exception in the vector |
- Returns
- the associated error code, or null if no error code is available
◆ getErrorMessage()
const char* SaxonApiException::getErrorMessage |
( |
int |
i | ) |
|
|
inline |
Returns the detail message string of the ith throwable, if there is one
- Parameters
-
i | - ith exception in the vector |
- Returns
- the detail message string of this
Throwable
instance (which may be null
).
◆ getException()
Returns the ith Exception added, if there is one
- Parameters
-
i | - ith exception in the vector |
- Returns
- MyException
The documentation for this class was generated from the following file: