From: cvs@openprivacy.orgCVS update: talon/src/java/talon
Date: Monday February 19, 19101 @ 18:23
Author: burton
CVSWEB Options: -------------------
Main CVSWeb: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi
View this module: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon
-----------------------------------
Update of /usr/local/cvs/public/talon/src/java/talon
In directory giga:/tmp/cvs-serv27561/src/java/talon
Modified Files:
TalonException.java
Log Message:
...
*****************************************************************
File: talon/src/java/talon/TalonException.java
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/TalonException.java?annotate=1.2
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/TalonException.java?rev=1.2&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/java/talon/TalonException.java.diff?r1=1.2&r2=1.1
-----------------------------------
Index: talon/src/java/talon/TalonException.java
diff -u talon/src/java/talon/TalonException.java:1.1 talon/src/java/talon/TalonException.java:1.2
--- talon/src/java/talon/TalonException.java:1.1 Tue Jan 16 02:42:32 2001
+++ talon/src/java/talon/TalonException.java Mon Feb 19 18:23:44 2001
@@ -9,14 +9,47 @@
package talon;
+import java.net.*;
+import java.io.*;
+import java.util.*;
+import java.lang.*;
+
public class TalonException extends Exception {
+ private Exception reason = null;
+
public TalonException() {
super();
}
public TalonException( String message ) {
super( message );
+ }
+
+ public TalonException( Exception reason ) {
+ super();
+ this.reason = reason;
+ }
+
+ public void printStackTrace() {
+ super.printStackTrace();
+
+ if ( reason != null )
+ reason.printStackTrace();
+ }
+
+ public void printStackTrace(java.io.PrintStream s) {
+ super.printStackTrace( s );
+
+ if ( reason != null )
+ reason.printStackTrace( s );
+ }
+
+ public void printStackTrace(java.io.PrintWriter s) {
+ super.printStackTrace( s );
+
+ if ( reason != null )
+ reason.printStackTrace( s );
}
}
This archive was generated by hypermail 2b30 : Mon Feb 19 2001 - 18:24:15 PST