User: boissier Date: 01/12/04 10:36:47 Modified: src/main/org/jboss/test/bank/interfaces BankException.java Log: * In JDK 1.4, the Throwable interface has a new method: public Throwable getCause() This causes a conflict with the file BankException.java. This patch fixes that. Revision Changes Path 1.3 +7 -4 jbosstest/src/main/org/jboss/test/bank/interfaces/BankException.java Index: BankException.java =================================================================== RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/bank/interfaces/BankException.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- BankException.java 2001/01/07 23:14:35 1.2 +++ BankException.java 2001/12/04 18:36:47 1.3 @@ -10,8 +10,8 @@ /** * * @see <related> - * @author $Author: peter $ - * @version $Revision: 1.2 $ + * @author $Author: boissier $ + * @version $Revision: 1.3 $ */ public class BankException extends Exception @@ -37,16 +37,22 @@ } // Public -------------------------------------------------------- - public Exception getCause() { return cause; } + public Throwable getCause() { return cause; } public String toString() { return super.toString()+", Cause:"+cause; } } /* - * $Id: BankException.java,v 1.2 2001/01/07 23:14:35 peter Exp $ + * $Id: BankException.java,v 1.3 2001/12/04 18:36:47 boissier Exp $ * Currently locked by:$Locker: $ * Revision: * $Log: BankException.java,v $ + * Revision 1.3 2001/12/04 18:36:47 boissier + * * In JDK 1.4, the Throwable interface has a new method: + * public Throwable getCause() + * This causes a conflict with the file BankException.java. + * This patch fixes that. + * * Revision 1.2 2001/01/07 23:14:35 peter * Trying to get JAAS to work within test suite. *
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development