From b7b70db4b6f2b8dda72bf41746a0ea5adc1587b9 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Wed, 19 May 2004 12:21:10 +0000 Subject: INTEGRATION: CWS qwizards1 (1.1.2); FILE ADDED 2004/03/12 16:17:01 rpiterman 1.1.2.2: documentation and small implementation-fixes 2003/11/05 14:16:53 rpiterman 1.1.2.1: Implementation of ErrorReporter which saves all exception that accure to a List. --- .../com/sun/star/wizards/web/status/ErrorLog.java | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 wizards/com/sun/star/wizards/web/status/ErrorLog.java (limited to 'wizards') diff --git a/wizards/com/sun/star/wizards/web/status/ErrorLog.java b/wizards/com/sun/star/wizards/web/status/ErrorLog.java new file mode 100644 index 000000000000..17746ffe9ec6 --- /dev/null +++ b/wizards/com/sun/star/wizards/web/status/ErrorLog.java @@ -0,0 +1,41 @@ +/* + * Created on 04.11.2003 + * + * To change the template for this generated file go to + * Window>Preferences>Java>Code Generation>Code and Comments + */ +package com.sun.star.wizards.web.status; + +import java.util.List; +import java.util.Vector; + +/** + * @author rpiterman + * + * To change the template for this generated type comment go to + * Window>Preferences>Java>Code Generation>Code and Comments + */ +public class ErrorLog implements ErrorReporter { + + private List errors = new Vector(); + + public void error(Exception ex, Object obj, String s) { + errors.add(new Err(ex,obj,s)); + } + + public class Err { + public Exception exception; + public Object argument; + public String string; + + public Err(Exception ex, Object arg, String s) { + exception = ex; + argument = arg; + string = s; + } + + } + + + +} -- cgit v1.2.3