Gen.InternalExceptionTest C# (CSharp) Method

InternalExceptionTest() public static method

public static InternalExceptionTest ( bool throwException ) : void
throwException bool
return void
	public static void InternalExceptionTest(bool throwException)
	{
		try
		{
			if (throwException)
			{
				throw new GenException<T>();
			}
			if (throwException)
			{
				Test.Eval(false);
			}
		}
		catch(Exception E)
		{
			Test.Eval(E is GenException<T>);
		}		
	}