 class CatchExceptionTests: XCTestCase {
 	func testCatchException() {
 		// If no exception is thrown, result must be nil
-		let noException = catchException {}
+		let noException = NSException.catchException {}
 		XCTAssert(noException == nil)
 		
 		// An exception thrown should be caught by a "catch" of the same type
-		let exceptionA = catchException {
+		let exceptionA = NSException.catchException {
 			NSException(name: NSExceptionName("a"), reason: "b", userInfo: nil).raise()
 		}
 		XCTAssert(exceptionA != nil)

		
		// An exception thrown should *not* be caught by a "catch" of a subtype
		var exceptionC: NSException? = nil
		let exceptionB = catchException {
			exceptionC = ExceptionSubclass.catchException {
				NSException(name: NSExceptionName("c"), reason: "d", userInfo: nil).raise()
			}

		XCTAssert(exceptionC == nil)
		
		// An exception thrown should be caught by a "catch" of a supertype
		let exceptionD = NSException.catchException {
			ExceptionSubclass(name: NSExceptionName("e"), reason: "f", userInfo: nil).raise()
		}
		XCTAssert(exceptionD != nil)
