Class ExceptionCollector
- Assembly
- NationalInstruments.SemiconductorTestLibrary.Abstractions.dll
Collects and manages exceptions that occur during operations, allowing them to be aggregated and thrown as a single NISemiconductorTestException.
public class ExceptionCollector
- Inheritance
-
ExceptionCollector
- Inherited Members
Constructors
- ExceptionCollector(string)
Initializes a new instance of the ExceptionCollector class.
Methods
- Add(Exception, SitePinInfo, string)
Adds an exception to the collector, associating it with a specific SitePinInfo.
- Add<TSessionInformation>(Exception, TSessionInformation, string)
Adds an exception to the collector, associating it with session information that provides site-pin context.
- ThrowSTLException()
Throws all collected exceptions as a single NISemiconductorTestException.
- WrapAndThrowSTLException(Exception, int, string, string)
Wraps an exception and throws it as a single NISemiconductorTestException, including site-pin context.