From fc8525e4d8861a23f4281ebcf6b34d59bfb66a24 Mon Sep 17 00:00:00 2001 From: Paul Baumgart Date: Mon, 10 May 2010 18:11:19 -0700 Subject: [PATCH] throw a regular Error() exception in Runtime.js because objj_exception doesn't exist anymore --- Objective-J/Runtime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objective-J/Runtime.js b/Objective-J/Runtime.js index fda9ad563..1df7ab26f 100644 --- a/Objective-J/Runtime.js +++ b/Objective-J/Runtime.js @@ -386,7 +386,7 @@ DISPLAY_NAME(objj_registerClassPair); GLOBAL(class_createInstance) = function(/*Class*/ aClass) { if (!aClass) - objj_exception_throw(new objj_exception(OBJJNilClassException, "*** Attempting to create object with Nil class.")); + throw new Error("*** Attempting to create object with Nil class."); var object = new aClass.allocator();