System::ExceptionWrapper-klass
Innehåll
[
Dölj
]ExceptionWrapper class
Mall som representerar en omslag för undantag som är härledda från Exception-klass.
template<typename T>class ExceptionWrapper
Metoder
| Metod | Beskrivning |
|---|---|
| ExceptionWrapper(std::nullptr_t) | Skapar en null-instans av ExceptionWrapper-klassen som inte representerar något undantag. |
| ExceptionWrapper(const ExceptionPtr&) | Skapar en instans av ExceptionWrapper-klassen som innehåller den överförda pekaren. |
| ExceptionWrapper(const ExceptionWrapper&) | Kopieringskonstruktor. |
| ExceptionWrapper(ExceptionWrapper&&) | Flyttkonstruktor. |
| explicit ExceptionWrapper(Args&&…) | Konstruktor som vidarebefordrar parametrar till Exception-klassens konstruktorer och skapar en smart pekare som håller en ny Exception-klassinstans. |
| static operator new(std::size_t) | |
| static operator new[](std::size_t) | |
| operator SharedPtr< Object >() | Implicit typomvandlingsoperator till SharedPtr |
| operator->() const | Tillåter åtkomst till medlemmar i Exception-objektet. |
| operator=(const ExceptionWrapper&) | Tilldelningsoperator. |
| operator=(ExceptionWrapper&&) | Flyttilldelningsoperator. |
| static Type() | Genväg för att hämta System::TypeInfo-objektet för Exception-typen. |
Typedefs
| Typedef | Beskrivning |
|---|---|
| ExceptionType | Används för typomvandlingsfunktioner. |
Se även
- Namespace System
- Library Aspose.PDF for C++