From 549c35aa591c3fc0af6635a674387b8d4abd00f5 Mon Sep 17 00:00:00 2001 From: James Roseborough Date: Thu, 15 Nov 2007 01:31:50 +0000 Subject: [PATCH] Make compile for j2me --- src/core/org/luaj/vm/LuaErrorException.java | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/core/org/luaj/vm/LuaErrorException.java b/src/core/org/luaj/vm/LuaErrorException.java index 2ca4f92c..39078582 100644 --- a/src/core/org/luaj/vm/LuaErrorException.java +++ b/src/core/org/luaj/vm/LuaErrorException.java @@ -53,18 +53,6 @@ public class LuaErrorException extends RuntimeException { * and with the default message. */ public LuaErrorException(Throwable cause) { - super(DEFAULT_MESSAGE, cause); + super(DEFAULT_MESSAGE+": "+cause); } - - /** - * Construct a LuaErrorException in response to a Throwable that was caught - * and with a specific message. - * - * @param message message to supply - * @param cause - */ - public LuaErrorException(String message, Throwable cause) { - super(message, cause); - } - }