Table of Contents

Method WrapAndThrowSTLException

Namespace
NationalInstruments.SemiconductorTestLibrary.Common
Assembly
NationalInstruments.SemiconductorTestLibrary.Abstractions.dll

WrapAndThrowSTLException(Exception, int, string, string)

Wraps an exception and throws it as a single NISemiconductorTestException, including site-pin context.

public static void WrapAndThrowSTLException(Exception exception, int siteNumber, string pinName = null, string caseDescription = null)

Parameters

exception Exception

The exception to wrap and throw.

siteNumber int

The site number associated with the exception.

pinName string

The pin name associated with the exception.

caseDescription string

An optional description of the test case or operation context.