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