5#include "system/exceptions.h"
7namespace System {
namespace Reflection {
14 friend class System::ExceptionWrapperHelper;
35 MEMBER_FUNCTION_MAKE_OBJECT(
38 CODEPORTING_ARGS(message, innerException)
45 MEMBER_FUNCTION_MAKE_OBJECT(
48 CODEPORTING_ARGS(innerException)
57 MEMBER_FUNCTION_MAKE_OBJECT(
60 CODEPORTING_ARGS(info, context));
66 static const String s_default_message;
70 static const String& DefaultMessageIfNull(
const String& message);
A base class for classes that represent application (rather than system) exceptions....
Template that represents wrapper of exceptions that are derived from Exception class.
Definition: exception.h:113
TargetInvocationException is thrown by methods invoked through reflection. Never create instances of ...
Definition: target_invocation_exception.h:13
Details_TargetInvocationException()
Initializes a new instance of the Details_TargetInvocationException class.
Details_TargetInvocationException(const String &message)
Initializes a new instance of the Details_TargetInvocationException class with a specified error mess...
void DoThrow(const System::ExceptionPtr &self) const override
System::Details_ApplicationException BaseType
Definition: target_invocation_exception.h:19
Details_TargetInvocationException(const String &message, const System::ExceptionWrapper< System::Details_Exception > &innerException)
Initializes a new instance of the Details_TargetInvocationException class with error message and an i...
Details_TargetInvocationException(const System::SharedPtr< System::Runtime::Serialization::SerializationInfo > &info, System::Runtime::Serialization::StreamingContext context)
Initializes a new instance of the Details_TargetInvocationException class from the serialization info...
Details_TargetInvocationException(const System::ExceptionWrapper< System::Details_Exception > &innerException)
Initializes a new instance of the Details_TargetInvocationException class with default error message ...
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:122
Definition: db_command.h:9