[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-cvs-commits
Subject:    [jboss-cvs] jbossbuild/src/main/org/jboss/ant/types  ...
From:       Ruel Loehr <ruel.loehr () jboss ! com>
Date:       2005-10-31 20:16:18
Message-ID: E1EWg4o-0000Rq-Go () committer01 ! frg ! pub ! inap ! atl ! jboss ! com
[Download RAW message or body]

  User: rloehr  
  Date: 05/10/31 15:16:18

  Modified:    src/main/org/jboss/ant/types  Tag: BRANCH_JBBUILD_DEV
                        AbstractDataType.java
  Log:
  add additional info to buildexception
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.5.2.1   +2 -2      jbossbuild/src/main/org/jboss/ant/types/AbstractDataType.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: AbstractDataType.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbossbuild/src/main/org/jboss/ant/types/AbstractDataType.java,v
  retrieving revision 1.5
  retrieving revision 1.5.2.1
  diff -u -b -r1.5 -r1.5.2.1
  --- AbstractDataType.java	4 Aug 2005 18:51:18 -0000	1.5
  +++ AbstractDataType.java	31 Oct 2005 20:16:18 -0000	1.5.2.1
  @@ -20,7 +20,7 @@
    * An AbstractDataType.
    * 
    * @author <a href="adrian@jboss.com">Adrian Brock</a>
  - * @version $Revision: 1.5 $
  + * @version $Revision: 1.5.2.1 $
    */
   public abstract class AbstractDataType extends DataType implements \
DynamicAttribute  {
  @@ -179,7 +179,7 @@
            throw new BuildException(context + " not set for " + toShortString());
         Object object = getProject().getReference(refid);
         if (object == null)
  -         throw new BuildException(context + " not found for " + toShortString());
  +         throw new BuildException(context + " not found for " + toShortString() + \
" with refid " + refid);  if (clazz.isInstance(object) == false)
            throw new BuildException(refid + " for " + context + " is not the correct \
type " + object.getClass().getName());  return (AbstractDataType) object;
  
  
  


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
jboss-cvs-commits mailing list
jboss-cvs-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-cvs-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic