Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 3390

Show
Ignore:
Timestamp:
03/23/08 21:37:55 (7 months ago)
Author:
kris
Message:

PullParser? now throws XmlException?. Fixes #992

Thanks Frank

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tango/text/xml/PullParser.d

    r3340 r3390  
    1515 
    1616private import tango.text.Util : indexOf; 
     17 
     18private import Integer = tango.core.Exception; 
    1719 
    1820private import Integer = tango.text.convert.Integer; 
     
    496498                errMsg = msg; 
    497499                err = true; 
    498                 throw new Exception (msg); 
     500                throw new XmlException (msg); 
    499501                return XmlTokenType.Done; 
    500502        }