]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic/cicParser.mli
- added handling of exceptions embedded in xml documents (usually coming
[helm.git] / helm / ocaml / cic / cicParser.mli
index a965cf2626b06eff6127ad66e8a91b62fc30b149..048df36a360dbe3898f8be1b37bbe9b0070c2571 100644 (file)
 (*                                                                            *)
 (******************************************************************************)
 
+  (** raised for exception received by the getter (i.e. embedded in the source
+  * XML document). Arguments are values of "helm:exception" and
+  * "helm:exception_arg" attributes *)
+exception Getter_failure of string * string
+
+  (** generic parser failure *)
+exception Parser_failure of string
+
 (* given the filename of an xml file of a cic object, it returns              *)
 (* its internal annotated representation. In the case of constants (whose     *)
 (* type is splitted from the body), a second xml file (for the body) must be  *)