--- nfo/projects/netfraggle/bin/fraggleParserXML.py 2004/08/25 21:41:48 1.3 +++ nfo/projects/netfraggle/bin/fraggleParserXML.py 2004/08/26 23:10:12 1.4 @@ -23,7 +23,7 @@ try: dom = self.reader.fromStream(input) except: - fraggleError.errorFileNotFound() + fraggleError.errorXMLStreamNotValid() return dom def printXML(self,inputDom,outputLocation): @@ -31,7 +31,7 @@ file = open(outputLocation,"w") self.reader.PrettyPrint(inputDom,file) except: - fraggleError.errorFileNotFound() + fraggleError.errorFileNotFound(outputLocation) def marshalXML(self,values,outputLocation): try: @@ -39,7 +39,7 @@ # self.marshall.dump(values,file) generic.dump(values,file) except: - fraggleError.errorFileNotFound() + fraggleError.errorFileNotFound(outputLocation) #print generic.dumps(values) @@ -48,6 +48,6 @@ try: file = open(inputLocation,"r") except: - fraggleError.errorFileNotFound() + fraggleError.errorFileNotFound(inputLocation) return generic.load(file) \ No newline at end of file