From befcd209d62a25020f46a688002b259c59e4dc3b Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Mon, 28 Feb 2022 18:42:51 -0600 Subject: Refactor related bundle enumeration into butil. Related to #3693 --- src/burn/test/BurnUnitTest/BurnTestException.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'src/burn/test/BurnUnitTest/BurnTestException.h') 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 namespace Bootstrapper { using namespace System; + using namespace WixBuildTools::TestSupport; - public ref struct BurnTestException : public System::Exception + public ref struct BurnTestException : public SucceededException { public: - BurnTestException(HRESULT error) - { - this->HResult = error; - } - BurnTestException(HRESULT error, String^ message) - : Exception(message) + : SucceededException(error, message) { - this->HResult = error; } property Int32 ErrorCode -- cgit v1.2.3-55-g6feb