mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 04:18:43 +00:00
22 lines
297 B
C
22 lines
297 B
C
#pragma once
|
|
|
|
BEGIN_NAMESPACE
|
|
|
|
public ref class ComponentException : public Exception
|
|
{
|
|
public:
|
|
ComponentException(HRESULT hr) : Exception()
|
|
{
|
|
this->HResult = hr;
|
|
}
|
|
|
|
property HRESULT HResult
|
|
{
|
|
HRESULT get()
|
|
{
|
|
return Exception::HResult;
|
|
}
|
|
}
|
|
};
|
|
|
|
END_NAMESPACE
|