throw errors when spirit parsing fails
[mussa.git] / alg / sequence.hpp
index dc9d594a1f572753f73ced6a5de056db5b6c0209..20bf01872bfd44d2b8129091d30de882cb6bf457 100644 (file)
@@ -218,7 +218,10 @@ public:
   //! load sequence annotations
   //! \throws mussa_load_error 
   void load_annot(std::fstream& data_stream, int start_index, int end_index);
-  bool parse_annot(std::string data, int start_index=0, int end_index=0);
+  //! parse annotation file
+  /*! \throws annotation_load_error 
+   */
+  void parse_annot(std::string data, int start_index=0, int end_index=0);
   //! add an annotation to our list of annotations
   void add_annotation(const annot& a);
   const std::list<annot>& annotations() const;