From: Alexey L. <lou...@us...> - 2004-04-23 18:37:45
|
User: loubyansky Date: 04/04/23 11:37:36 Modified: src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge Tag: Branch_3_2 JDBCCMRFieldBridge.java Log: forgot the keyword Revision Changes Path No revision No revision 1.43.2.64 +4 -3 jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge/JDBCCMRFieldBridge.java Index: JDBCCMRFieldBridge.java =================================================================== RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge/JDBCCMRFieldBridge.java,v retrieving revision 1.43.2.63 retrieving revision 1.43.2.64 diff -u -r1.43.2.63 -r1.43.2.64 --- JDBCCMRFieldBridge.java 23 Apr 2004 18:27:32 -0000 1.43.2.63 +++ JDBCCMRFieldBridge.java 23 Apr 2004 18:37:35 -0000 1.43.2.64 @@ -73,7 +73,7 @@ * * @author <a href="mailto:da...@da...">Dain Sundstrom</a> * @author <a href="mailto:al...@jb...">Alex Loubyansky</a> - * @version $Revision: 1.43.2.63 $ + * @version $Revision: 1.43.2.64 $ */ public final class JDBCCMRFieldBridge extends JDBCAbstractCMRFieldBridge { @@ -755,7 +755,7 @@ } catch(ArrayStoreException e) { - new IllegalArgumentException("The elements in the collection must be of type " + + throw new IllegalArgumentException("The elements in the collection must be of type " + relatedEntity.getLocalInterface().getName()); } } @@ -770,7 +770,8 @@ } catch(ArrayStoreException e) { - new IllegalArgumentException("The value must be of type " + relatedEntity.getLocalInterface().getName()); + throw new IllegalArgumentException("The value must be of type " + + relatedEntity.getLocalInterface().getName()); } } else |