3#include <system/string.h>
4#include <system/nullable.h>
5#include <system/exceptions.h>
14class SerializationInfo;
15class StreamingContext;
23namespace Serialization
25template <
typename>
class JsonConverter;
38class Details_JsonException;
46 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
47 ASPOSECPP_SHARED_RTTI_INFO_DECL();
52 friend class System::ExceptionWrapperHelper;
101 #ifdef ASPOSE_GET_SHARED_MEMBERS
102 void GetSharedMembers(System::Object::shared_members_type& result)
const override;
107 bool pr_AppendPathInformation;
Represents an exception. Never create instances of this class manually. Use the Exception class inste...
Definition: exception.h:282
Template that represents wrapper of exceptions that are derived from Exception class.
Definition: exception.h:118
Dummy class to make StreamingContext-using translated classes compile. Do not manage instances of thi...
Definition: streaming_context.h:12
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:126
Definition: json_exception.h:42
Details_JsonException(String message, String path, Nullable< int64_t > lineNumber, Nullable< int64_t > bytePositionInLine)
Details_JsonException(String message)
MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(Details_JsonException, CODEPORTING_ARGS())
bool get_AppendPathInformation()
MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(Details_JsonException, CODEPORTING_ARGS(String message))
void DoThrow(const System::ExceptionPtr &self) const override
Throws exception instance wrapped by exception wrapper.
void GetObjectData(System::SharedPtr< Runtime::Serialization::SerializationInfo > info, Runtime::Serialization::StreamingContext context)
MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(Details_JsonException, CODEPORTING_ARGS(String message, String path, Nullable< int64_t > lineNumber, Nullable< int64_t > bytePositionInLine))
Details_JsonException(System::SharedPtr< Runtime::Serialization::SerializationInfo > info, Runtime::Serialization::StreamingContext context)
void set_Path(String value)
void SetMessage(String message)
Details_JsonException(String message, Exception innerException)
String _message
Definition: json_exception.h:66
Details_JsonException(String message, String path, Nullable< int64_t > lineNumber, Nullable< int64_t > bytePositionInLine, Exception innerException)
void set_AppendPathInformation(bool value)
Nullable< int64_t > get_LineNumber()
MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(Details_JsonException, CODEPORTING_ARGS(System::SharedPtr< Runtime::Serialization::SerializationInfo > info, Runtime::Serialization::StreamingContext context))
void set_BytePositionInLine(Nullable< int64_t > value)
String get_Message() const override
Returns the string containing the error destcription.
void set_LineNumber(Nullable< int64_t > value)
Nullable< int64_t > get_BytePositionInLine()
MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(Details_JsonException, CODEPORTING_ARGS(String message, Exception innerException))
MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(Details_JsonException, CODEPORTING_ARGS(String message, String path, Nullable< int64_t > lineNumber, Nullable< int64_t > bytePositionInLine, Exception innerException))
Definition: json_reader_exception.h:31
Definition: json_converter_of_t.h:80
Definition: throw_helper.h:91
@ Text
Defines color adjustment information for text.
Definition: db_command.h:9