Mac binaries
[jabaws.git] / website / archive / binaries / mac / src / clustalw / src / general / SequenceNotFoundException.h
diff --git a/website/archive/binaries/mac/src/clustalw/src/general/SequenceNotFoundException.h b/website/archive/binaries/mac/src/clustalw/src/general/SequenceNotFoundException.h
new file mode 100644 (file)
index 0000000..867450a
--- /dev/null
@@ -0,0 +1,22 @@
+/**
+ * Author: Mark Larkin
+ * 
+ * Copyright (c) 2007 Des Higgins, Julie Thompson and Toby Gibson.  
+ */
+#ifndef SEQUENCENOTFOUNDEXCEPTION_H
+#define SEQUENCENOTFOUNDEXCEPTION_H
+
+// standard exceptions
+#include <iostream>
+#include <exception>
+using namespace std;
+
+class SequenceNotFoundException: public exception
+{
+  virtual const char* what() const throw ()
+  {
+    return "Could not find sequence with given id\n";
+  }
+};
+
+#endif