blob: 8ebae5c58e825e69fc92d726ed97a6e5aa61a1f3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#include <exception>
public ref struct InteropException : System::Exception {
InteropException(System::String^ what) :
Exception(what) {}
InteropException(const char* what) :
Exception(gcnew System::String(what)) {}
InteropException(const std::exception& e) :
InteropException(e.what()) {}
};
public ref struct RawInputInteropException : InteropException {
RawInputInteropException(System::String^ what) :
InteropException(what) {}
RawInputInteropException(const char* what) :
InteropException(what) {}
RawInputInteropException(const std::exception& e) :
InteropException(e) {}
};
|