aboutsummaryrefslogtreecommitdiff
path: root/src/burn/test/BurnUnitTest/BurnTestException.h
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2022-02-28 18:42:51 -0600
committerSean Hall <r.sean.hall@gmail.com>2022-03-01 11:37:00 -0600
commitbefcd209d62a25020f46a688002b259c59e4dc3b (patch)
treecbf6c5a57276264599f95a712939d44645f5ca7a /src/burn/test/BurnUnitTest/BurnTestException.h
parent3f658fa2b4bd80619fcf89e1e87ae12b48effb7a (diff)
downloadwix-befcd209d62a25020f46a688002b259c59e4dc3b.tar.gz
wix-befcd209d62a25020f46a688002b259c59e4dc3b.tar.bz2
wix-befcd209d62a25020f46a688002b259c59e4dc3b.zip
Refactor related bundle enumeration into butil.
Related to #3693
Diffstat (limited to 'src/burn/test/BurnUnitTest/BurnTestException.h')
-rw-r--r--src/burn/test/BurnUnitTest/BurnTestException.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/burn/test/BurnUnitTest/BurnTestException.h b/src/burn/test/BurnUnitTest/BurnTestException.h
index bd94b4fc..e813f95c 100644
--- a/src/burn/test/BurnUnitTest/BurnTestException.h
+++ b/src/burn/test/BurnUnitTest/BurnTestException.h
@@ -13,19 +13,14 @@ namespace Test
13namespace Bootstrapper 13namespace Bootstrapper
14{ 14{
15 using namespace System; 15 using namespace System;
16 using namespace WixBuildTools::TestSupport;
16 17
17 public ref struct BurnTestException : public System::Exception 18 public ref struct BurnTestException : public SucceededException
18 { 19 {
19 public: 20 public:
20 BurnTestException(HRESULT error)
21 {
22 this->HResult = error;
23 }
24
25 BurnTestException(HRESULT error, String^ message) 21 BurnTestException(HRESULT error, String^ message)
26 : Exception(message) 22 : SucceededException(error, message)
27 { 23 {
28 this->HResult = error;
29 } 24 }
30 25
31 property Int32 ErrorCode 26 property Int32 ErrorCode