System::ExceptionWrapper‑Klasse
Inhalt
[
Ausblenden
]ExceptionWrapper class
Vorlage, die einen Wrapper für Ausnahmen darstellt, die von der Klasse Exception abgeleitet sind.
template<typename T>class ExceptionWrapper
Methoden
| Methode | Beschreibung |
|---|---|
| ExceptionWrapper(std::nullptr_t) | Erstellt eine Null-Instanz der Klasse ExceptionWrapper, die keine Ausnahme darstellt. |
| ExceptionWrapper(const ExceptionPtr&) | Erstellt eine Instanz der Klasse ExceptionWrapper, die den übergebenen Zeiger enthält. |
| ExceptionWrapper(const ExceptionWrapper&) | Kopierkonstruktor. |
| ExceptionWrapper(ExceptionWrapper&&) | Move-Konstruktor. |
| explicit ExceptionWrapper(Args&&…) | Konstruktor, der Parameter an die Konstruktoren der Klasse Exception weiterleitet und einen Smart‑Pointer erzeugt, der eine neue Instanz der Klasse Exception hält. |
| static operator new(std::size_t) | |
| static operator new[](std::size_t) | |
| operator SharedPtr< Object >() | Impliziter Cast‑Operator zu SharedPtr |
| operator->() const | Ermöglicht den Zugriff auf Mitglieder des Objekts Exception. |
| operator=(const ExceptionWrapper&) | Zuweisungsoperator. |
| operator=(ExceptionWrapper&&) | Move-Zuweisungsoperator. |
| static Type() | Abkürzung, um das Objekt System::TypeInfo für den Typ Exception zu erhalten. |
Typedefs
| Typedef | Beschreibung |
|---|---|
| ExceptionType | Wird für Casting‑Funktionen verwendet. |
Siehe auch
- Namespace System
- Library Aspose.Page for C++