projects
/
mussa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WhatsThis update
[mussa.git]
/
mussa_exceptions.hpp
diff --git
a/mussa_exceptions.hpp
b/mussa_exceptions.hpp
index 065347a6b52ec8eb98eb48b5eb6b981d909a8a5e..9027a079a3b709552cec72272d50834d81476a94 100644
(file)
--- a/
mussa_exceptions.hpp
+++ b/
mussa_exceptions.hpp
@@
-62,6
+62,15
@@
public:
explicit sequence_invalid_load_error(const std::string& msg) :
sequence_load_error(msg) {};
};
explicit sequence_invalid_load_error(const std::string& msg) :
sequence_load_error(msg) {};
};
+
+//! Error loading sequence annotation
+class annotation_load_error : public sequence_load_error
+{
+public:
+ explicit annotation_load_error(const std::string& msg) :
+ sequence_load_error(msg) {};
+};
+
//! failure running analysis
class mussa_analysis_error : public mussa_error
{
//! failure running analysis
class mussa_analysis_error : public mussa_error
{
@@
-70,12
+79,31
@@
public:
mussa_error(msg) {};
};
mussa_error(msg) {};
};
+//! failure running seqcomp
+class seqcomp_error : public mussa_analysis_error
+{
+public:
+ explicit seqcomp_error(const std::string& msg) :
+ mussa_analysis_error(msg) {};
+};
+
+//! couldn't normalize a motif
+/*
class motif_normalize_error : public mussa_error
{
public:
explicit motif_normalize_error(const std::string& msg) :
mussa_error(msg) {};
};
class motif_normalize_error : public mussa_error
{
public:
explicit motif_normalize_error(const std::string& msg) :
mussa_error(msg) {};
};
+*/
+
+//! something went wrong loading a motif
+class motif_load_error : public mussa_load_error
+{
+public:
+ explicit motif_load_error(const std::string& msg) :
+ mussa_load_error(msg) {};
+};
//! ConservedPath::nextTo had two paths that weren't the same size
class conserved_path_size_mismatch : public mussa_error
//! ConservedPath::nextTo had two paths that weren't the same size
class conserved_path_size_mismatch : public mussa_error