#include <exceptions.h>
Inherits Details_SystemException.
◆ BaseType
◆ Details_AssertionException() [1/4]
NUnit::Framework::Details_AssertionException::Details_AssertionException |
( |
| ) |
|
|
inlineprotected |
Constructs a new instance.
◆ Details_AssertionException() [2/4]
NUnit::Framework::Details_AssertionException::Details_AssertionException |
( |
const System::String & |
message | ) |
|
|
inlineprotected |
Constructs a new instance.
- Parameters
-
message | The error description. |
◆ Details_AssertionException() [3/4]
Constructs a new instance.
- Parameters
-
message | The error description. |
innerException | The inner exception. |
◆ Details_AssertionException() [4/4]
Deserializes exception.
- Parameters
-
info | SerializationInfo object holding serialized exception. |
context | Streaming context bound to serialization info passed. |
◆ DoThrow()
void NUnit::Framework::Details_AssertionException::DoThrow |
( |
const System::ExceptionPtr & |
self | ) |
const |
|
inlineoverrideprotected |
Throws exception instance wrapped by exception wrapper.
- Parameters
-
self | Exception instance to be thrown. |
◆ GetType()
const System::TypeInfo & NUnit::Framework::Details_AssertionException::GetType |
( |
| ) |
const |
|
inlineoverride |
Gets actual type of object. Analog of C# System.Object.GetType() call.
- Returns
- TypeInfo object which describes final type.
◆ Is()
bool NUnit::Framework::Details_AssertionException::Is |
( |
const System::TypeInfo & |
target | ) |
const |
|
inlineoverride |
Check if object represents an instance of type described by targetType. Analog of C# 'is' operator.
- Parameters
-
target | TypeInfo structure describing the type to test current object against. |
- Returns
- True if object is of tagged type or its subclass, false otherwise.
◆ Type()
static const System::TypeInfo & NUnit::Framework::Details_AssertionException::Type |
( |
| ) |
|
|
inlinestatic |
Returns information about the current type.
- Returns
- Information about the current type.