mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-05 08:32:58 +00:00
throw a regular Error() exception in Runtime.js because objj_exception doesn't exist anymore
This commit is contained in:
1 parent
8dd61155bf
commit
fc8525e4d8
1 file changed
+1
-1
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user