From bc5a21d54500b5ac5cbb1d2535eb447b287c99a7 Mon Sep 17 00:00:00 2001 From: Paul Baumgart Date: Mon, 10 May 2010 18:20:48 -0700 Subject: [PATCH] Change objj_exception_throw to manually throw an exception, because objj_exception_throw doesn't exist anymore. --- Foundation/CPNumber.j | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Foundation/CPNumber.j b/Foundation/CPNumber.j index 3b95e242d..8712b2ac2 100644 --- a/Foundation/CPNumber.j +++ b/Foundation/CPNumber.j @@ -217,14 +217,14 @@ FIXME: Do we need this? */ - (CPDecimal)decimalValue { - objj_throw_exception("decimalValue: NOT YET IMPLEMENTED"); + throw new Error("decimalValue: NOT YET IMPLEMENTED"); } - (CPString)descriptionWithLocale:(CPDictionary)aDictionary { if (!aDictionary) return toString(); - objj_throw_exception("descriptionWithLocale: NOT YET IMPLEMENTED"); + throw new Error("descriptionWithLocale: NOT YET IMPLEMENTED"); } - (CPString)description