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 NationalInstruments.SemiconductorTestLibrary.Common.NISemiconductorTestException.
public class ExceptionCollectorInheritance
Inherited Members
Constructors
- ExceptionCollector(string)
-
Initializes a new instance of the NationalInstruments.SemiconductorTestLibrary.Common.ExceptionCollector class.
Methods
- Add<TSessionInformation>(Exception, TSessionInformation, string)
-
Adds an exception to the collector, associating it with session information that provides site-pin context.
- Add(Exception, SitePinInfo, string)
-
Adds an exception to the collector, associating it with a specific NationalInstruments.SemiconductorTestLibrary.Common.SitePinInfo.
- ThrowSTLException()
-
Throws all collected exceptions as a single NationalInstruments.SemiconductorTestLibrary.Common.NISemiconductorTestException.
- WrapAndThrowSTLException(Exception, int, string, string)
-
Wraps an exception and throws it as a single NationalInstruments.SemiconductorTestLibrary.Common.NISemiconductorTestException, including site-pin context.