File: SequenceNotFoundException.h

package info (click to toggle)
clustalx 2.1%2Blgpl-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 3,324 kB
  • sloc: cpp: 40,050; sh: 163; xml: 102; makefile: 16
file content (22 lines) | stat: -rw-r--r-- 432 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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