sboag       02/03/29 07:18:39

  Modified:    java/src/org/apache/xpath/objects XObject.java
  Log:
  Pass this as ExpressionNode to the XPathException object on error, which
  helps us to establish context information for the exception object.
  
  Revision  Changes    Path
  1.20      +2 -1      xml-xalan/java/src/org/apache/xpath/objects/XObject.java
  
  Index: XObject.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xpath/objects/XObject.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- XObject.java      22 Mar 2002 01:04:44 -0000      1.19
  +++ XObject.java      29 Mar 2002 15:18:39 -0000      1.20
  @@ -738,9 +738,10 @@
       //                                      null, fmsg, 0, 0);
       // if(shouldThrow)
       {
  -      throw new XPathException(fmsg);
  +      throw new XPathException(fmsg, this);
       }
     }
  +  
     
     /**
      * XObjects should not normally need to fix up variables.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to