@@ -14,7 +14,7 @@ public static CppType GetCppType(CppGenerationContext context)
14
14
if ( ns . Count >= 2 && ns [ 0 ] == ns [ 1 ] )
15
15
ns . RemoveAt ( 0 ) ;
16
16
17
- return new CppType ( InteropTypeKind . ClassWrapper , ns , "ReinteropException " , null , 0 ) ;
17
+ return new CppType ( InteropTypeKind . ClassWrapper , ns , "ReinteropNativeException " , null , 0 ) ;
18
18
}
19
19
20
20
public static void Generate ( CppGenerationContext context , IDictionary < string , CppSourceFile > sourceFiles )
@@ -35,9 +35,9 @@ public static void Generate(CppGenerationContext context, IDictionary<string, Cp
35
35
var headerNamespace = headerFile . GetNamespace ( type . GetFullyQualifiedNamespace ( false ) ) ;
36
36
headerNamespace . Members . Add (
37
37
$$ """
38
- class ReinteropException : public std::runtime_error {
38
+ class ReinteropNativeException : public std::runtime_error {
39
39
public:
40
- ReinteropException (const DotNet::System::Exception& exception);
40
+ ReinteropNativeException (const DotNet::System::Exception& exception);
41
41
const ::DotNet::System::Exception& GetDotNetException() const;
42
42
43
43
private:
@@ -69,11 +69,11 @@ class ReinteropException : public std::runtime_error {
69
69
var sourceNamespace = sourceFile . GetNamespace ( type . GetFullyQualifiedNamespace ( false ) ) ;
70
70
sourceNamespace . Members . Add (
71
71
$$ """
72
- ReinteropException::ReinteropException (const DotNet::System::Exception& exception)
72
+ ReinteropNativeException::ReinteropNativeException (const DotNet::System::Exception& exception)
73
73
: std::runtime_error(exception.Message().ToStlString()),
74
74
_exception(exception) {}
75
75
76
- const ::DotNet::System::Exception& ReinteropException ::GetDotNetException() const {
76
+ const ::DotNet::System::Exception& ReinteropNativeException ::GetDotNetException() const {
77
77
return this->_exception;
78
78
}
79
79
""" ) ;
0 commit comments