diff options
author | Kurt Zenker <kz@openoffice.org> | 2004-05-19 12:21:10 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2004-05-19 12:21:10 +0000 |
commit | b7b70db4b6f2b8dda72bf41746a0ea5adc1587b9 (patch) | |
tree | 83cb49afe747cf2f20fad07a77cd62dc3c00faaf /wizards | |
parent | 7093aa105ee221d177f614f96bd8b10fce77de73 (diff) |
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.
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/web/status/ErrorLog.java | 41 |
1 files changed, 41 insertions, 0 deletions
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; + } + + } + + + +} |