|
|
| version 1.23, 2001/12/15 21:28:19 | version 1.29, 2002/01/23 10:38:17 |
|---|---|
| Line 13 | Line 13 |
| #include "pa_types.h" | #include "pa_types.h" |
| #include "pa_string.h" | #include "pa_string.h" |
| #ifdef XML | |
| #include <PlatformSupport/XSLException.hpp> | |
| #include <sax/SAXException.hpp> | |
| #include <sax/SAXParseException.hpp> | |
| #include <util/XMLException.hpp> | |
| #endif | |
| class Pool; | class Pool; |
| // defines | // defines |
| Line 38 public: | Line 31 public: |
| ~Exception(); | ~Exception(); |
| #ifdef XML | #ifdef XML |
| /// converts XSL exception to parser exception | Exception( |
| static void provide_source(Pool& pool, const String *source, const XSLException& e); | const String *atype, const String *acode, |
| /// converts SAX exception to parser exception | const String *aproblem_source, |
| static void provide_source(Pool& pool, const String *source, const SAXException& e); | GdomeException& exc); |
| /// converts SAX parse exception to parser exception | |
| static void provide_source(Pool& pool, const String *source, const SAXParseException& e); | |
| /// converts XML exception to parser exception | |
| static void provide_source(Pool& pool, const String *source, const XMLException& e); | |
| /// converts Xalan DOM exception to parser exception | |
| static void provide_source(Pool& pool, const String *source, const XalanDOMException& e); | |
| #endif | #endif |
| /// extracts exception type | /// extracts exception type |