marked class as final.

print stack trace on id generation if debug is true.
This commit is contained in:
hns 2002-06-07 19:12:17 +00:00
parent 0652286e82
commit 43cba33077

View file

@ -14,7 +14,7 @@ import java.util.Vector;
* in JavaScript which doesn't know about them (except for the exception message).
*/
public class WrappedNodeManager {
public final class WrappedNodeManager {
NodeManager nmgr;
@ -131,6 +131,8 @@ import java.util.Vector;
return nmgr.generateID (map);
// otherwise, we use an oracle sequence
} catch (Exception x) {
if (nmgr.app.debug ())
x.printStackTrace();
throw new RuntimeException (x.toString ());
}
}