From 53432b50b6552f889b2934531f8ebadd66bc71e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20K=C4=99dzia?= <Pawel.Kedzia@pwr.wroc.pl> Date: Fri, 6 May 2011 11:25:16 +0200 Subject: [PATCH] Wrapper for Corpus2::~TagsetNotFound --- swig/libcorpustagsetmanager.i | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/swig/libcorpustagsetmanager.i b/swig/libcorpustagsetmanager.i index b220cb7..d0d7f08 100644 --- a/swig/libcorpustagsetmanager.i +++ b/swig/libcorpustagsetmanager.i @@ -17,6 +17,18 @@ %template(TagsetPtr) boost::shared_ptr<Tagset>; namespace Corpus2 { + class TagsetNotFound : public Corpus2Error { + public: + // explicit TagsetNotFound(const tagset_idx_t id); + ~TagsetNotFound() throw() {} + + /* --------------------------------------------------------------------- */ + std::string info() const; + + /* --------------------------------------------------------------------- */ + // tagset_idx_t id; + }; + class TagsetManager { public: TagsetManager(); -- GitLab