From 9ab98e8b79688821f85649fa3a04137f83467b73 Mon Sep 17 00:00:00 2001 From: jestin Date: Tue, 27 Jul 2004 16:21:24 +0000 Subject: clean up the examples to abide to the new API --- examples/Counter.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'examples/Counter.java') diff --git a/examples/Counter.java b/examples/Counter.java index 34ae576..3c4c93e 100644 --- a/examples/Counter.java +++ b/examples/Counter.java @@ -41,13 +41,12 @@ public class Counter implements IvyMessageListener, Runnable { public static final String helpmsg = "usage: java Counter -[options]\n\t-b BUS\tspecifies the Ivy bus domain\n\t-q\tquiet, no tty output\n\t-d\tdebug\n\t-h\thelp\n"; - public Counter(String domain,boolean quiet) { + public Counter(String domain,boolean quiet) throws IvyException { this.quiet=quiet; for (int j=0;j