5#include <system/exceptions.h>
6#include <system/array.h>
18class BinXmlSqlDecimal;
19class DocumentXmlWriter;
23class QueryOutputWriter;
24class ReadContentAsBinaryHelper;
30class SchemaCollectionPreprocessor;
40class XmlCharCheckingReader;
41class XmlCharCheckingWriter;
44class XmlEncodedRawTextWriter;
47class XmlParserContext;
48class XmlQualifiedName;
50class XmlReaderSettings;
51class XmlSqlBinaryReader;
52class XmlSubtreeReader;
53class XmlSystemPathResolver;
54class XmlTextReaderImpl;
56class XmlUtf8RawTextWriter;
57class XmlValidatingReaderImpl;
58class XmlWellFormedWriter;
60class XmlWriterSettings;
61class XsdValidatingReader;
66class XsltCompileContext;
77class Details_XmlException;
86 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
87 ASPOSECPP_SHARED_RTTI_INFO_DECL();
96 friend class Base64Decoder;
97 friend class BinXmlSqlDecimal;
98 friend class BinXmlDateTime;
99 friend class XmlSqlBinaryReader;
101 friend class XmlSqlBinaryReader;
102 friend class BinHexDecoder;
103 friend class XmlEncodedRawTextWriter;
104 friend class XmlUtf8RawTextWriter;
105 friend class QueryOutputWriter;
107 friend class ReadContentAsBinaryHelper;
108 friend class XmlCharCheckingReader;
109 friend class XmlCharCheckingWriter;
112 friend class XmlSubtreeReader;
113 friend class XmlTextReaderImpl;
114 friend class XmlTextReaderImpl;
115 friend class XmlValidatingReaderImpl;
116 friend class XmlWellFormedWriter;
118 friend class XsdValidatingReader;
119 friend class DocumentXmlWriter;
121 friend class XmlLoader;
122 friend class HWStack;
123 friend class XmlSystemPathResolver;
124 friend class Schema::BaseValidator;
125 friend class DtdParser;
126 friend class Schema::DtdValidator;
127 friend class Schema::Preprocessor;
128 friend class Schema::SchemaCollectionPreprocessor;
129 friend class Schema::XdrBuilder;
130 friend class Schema::XdrValidator;
131 friend class Schema::XsdValidator;
132 friend class ValidateNames;
134 friend class Ucs4Decoder4321;
135 friend class Ucs4Decoder1234;
136 friend class Ucs4Decoder2143;
137 friend class Ucs4Decoder3412;
138 friend class XmlNullResolver;
141 friend class Xsl::XsltOld::XsltCompileContext;
142 friend class System::ExceptionWrapperHelper;
238 static ArrayPtr<String> BuildCharExceptionArgs(
char16_t invChar,
char16_t nextChar);
239 static bool IsCatchableException(
Exception e);
241 #ifdef ASPOSE_GET_SHARED_MEMBERS
242 ASPOSECPP_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
251 int32_t _linePosition;
255 static String FormatUserMessage(
const String& message, int32_t lineNumber, int32_t linePosition);
A base class for classes that represent system (rather than application) exceptions....
Template that represents wrapper of exceptions that are derived from Exception class.
Definition: exception.h:113
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
Returns detailed information about the last exception.
Definition: xml_exception.h:82
void DoThrow(const System::ExceptionPtr &self) const override
Throws exception instance wrapped by exception wrapper.
Details_XmlException(const String &message, Exception innerException, int32_t lineNumber, int32_t linePosition)
Initializes a new instance of the XmlException class with the specified message, inner exception,...
Details_XmlException(const String &message)
Initializes a new instance of the XmlException class with a specified error message.
int32_t get_LineNumber()
Returns the line number indicating where the error occurred. Line numbers start at 1.
Details_XmlException(const String &message, Exception innerException)
Initializes a new instance of the XmlException class.
MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(Details_XmlException, CODEPORTING_ARGS())
String get_SourceUri()
Returns the location of the XML file.
MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(Details_XmlException, CODEPORTING_ARGS(String message))
MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(Details_XmlException, CODEPORTING_ARGS(String message, Exception innerException))
String get_Message() const override
Returns a message describing the current exception.
Details_XmlException()
Initializes a new instance of the XmlException class.
MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(Details_XmlException, CODEPORTING_ARGS(String message, Exception innerException, int32_t lineNumber, int32_t linePosition))
int32_t get_LinePosition()
Returns the line position indicating where the error occurred. Line position starts at 1.
Encodes and decodes XML names, and provides methods for converting between runtime types and XML Sche...
Definition: xml_convert.h:141
Represents an XML document. You can use this class to load, validate, edit, add, and position XML in ...
Definition: xml_document.h:100
Provides all the context information required by the XmlReader to parse an XML fragment.
Definition: xml_parser_context.h:34
Represents an XML qualified name.
Definition: xml_qualified_name.h:55
Represents a reader that provides fast, noncached, forward-only access to XML data.
Definition: xml_reader.h:73
Specifies a set of features to support on the XmlReader object created by the XmlReader::Create metho...
Definition: xml_reader_settings.h:57
Resolves external XML resources named by a Uniform Resource Identifier (URI).
Definition: xml_url_resolver.h:40
Represents a writer that provides a fast, non-cached, forward-only way to generate streams or files t...
Definition: xml_writer.h:45
Specifies a set of features to support on the XmlWriter object created by the XmlWriter::Create metho...
Definition: xml_writer_settings.h:85
@ Schema
Validate according to XML Schema definition language (XSD) schemas, including inline XML Schemas....
@ Xml
Serialize according to the XML 1.0 rules.
Definition: db_command.h:9