User: slaboure
  Date: 01/10/05 09:26:33

  Modified:    src/main/org/jboss/verifier/strategy AbstractVerifier.java
  Log:
  Allows bean methods exceptions definitions to be subclass of home/remote method 
exception definition.
  E.g.: Home method uses FinderException and bean method uses ObjectNotFoundException
  
  Revision  Changes    Path
  1.20      +4 -3      jboss/src/main/org/jboss/verifier/strategy/AbstractVerifier.java
  
  Index: AbstractVerifier.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/verifier/strategy/AbstractVerifier.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- AbstractVerifier.java     2001/06/18 20:01:29     1.19
  +++ AbstractVerifier.java     2001/10/05 16:26:33     1.20
  @@ -19,7 +19,7 @@
    * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    *
    * This package and its source code is available at www.jboss.org
  - * $Id: AbstractVerifier.java,v 1.19 2001/06/18 20:01:29 mnf999 Exp $
  + * $Id: AbstractVerifier.java,v 1.20 2001/10/05 16:26:33 slaboure Exp $
    */
   
   // standard imports
  @@ -62,7 +62,7 @@
    * @author  Aaron Mulder  ([EMAIL PROTECTED])
    * @author  Vinay Menon   ([EMAIL PROTECTED])
    *
  - * @version $Revision: 1.19 $
  + * @version $Revision: 1.20 $
    * @since    JDK 1.3
    */
   public abstract class AbstractVerifier implements VerificationStrategy {
  @@ -646,7 +646,8 @@
               boolean found = false;
   
               for (int j = 0; j < b.length; ++j)
  -                if (a[i] == b[j]) {
  +                //if (a[i] == b[j]) {
  +                if (b[j].isAssignableFrom (a[i])
                       found = true;
                       break;
                   }
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to