diff options
| author | Adonais Romero González <[email protected]> | 2024-05-06 16:21:31 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-05-06 16:21:31 -0700 |
| commit | a74a241c664c4e1d7c0838287b34076c19d9858a (patch) | |
| tree | 6ff7562612967b122acf8acf8a69c4dcfd5905db /print/XpsRasFilter/src/Exception.cpp | |
| parent | def8e8e34ed2b7b1deb2fc9112ac4255f1a0f2ba (diff) | |
| parent | 15477ce52bbb6b42ca591ecdfb484cac089f89ab (diff) | |
Merge develop changes prior to upcoming WDK release (May 2024)
Diffstat (limited to 'print/XpsRasFilter/src/Exception.cpp')
| -rw-r--r-- | print/XpsRasFilter/src/Exception.cpp | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/print/XpsRasFilter/src/Exception.cpp b/print/XpsRasFilter/src/Exception.cpp deleted file mode 100644 index 141c1ac3..00000000 --- a/print/XpsRasFilter/src/Exception.cpp +++ /dev/null @@ -1,43 +0,0 @@ -// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF -// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO -// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A -// PARTICULAR PURPOSE. -// -// Copyright (c) Microsoft Corporation. All rights reserved -// -// File Name: -// -// Exception.cpp -// -// Abstract: -// -// Exception routine definitions. -// - -#include "precomp.h" -#include "WppTrace.h" -#include "Exception.h" - -#include "Exception.tmh" - -namespace xpsrasfilter -{ - -void ThrowHRException( - HRESULT hr, - char const *fileName, - int lineNum - ) -{ - DoTraceMessage( - XPSRASFILTER_TRACE_ERROR, - L"Throwing HRESULT Exception from %s:%d (HRESULT=%!HRESULT!)", - fileName, - lineNum, - hr - ); - - throw hr_error(hr); -} - -} // namespace xpsrasfilter |
