bpp-core3  3.0.0
HmmExceptions.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: The Bio++ Development Group
2 //
3 // SPDX-License-Identifier: CECILL-2.1
4 
5 #ifndef BPP_NUMERIC_HMM_HMMEXCEPTIONS_H
6 #define BPP_NUMERIC_HMM_HMMEXCEPTIONS_H
7 
8 
9 #include "../../Exceptions.h"
10 
11 namespace bpp
12 {
21  public Exception
22 {
23 public:
24  HmmBadStateException(const std::string& description) : Exception(description) {}
25 };
26 
27 
36  public Exception
37 {
38 public:
39  HmmUnvalidAlphabetException(const std::string& description) : Exception(description) {}
40 };
41 } // end of namespace bpp.
42 #endif // BPP_NUMERIC_HMM_HMMEXCEPTIONS_H
HmmBadStateException(const std::string &description)
Definition: HmmExceptions.h:24
HmmUnvalidAlphabetException(const std::string &description)
Definition: HmmExceptions.h:39
Exception base class. Overload exception constructor (to control the exceptions mechanism). Destructor is already virtual (from std::exception)
Definition: Exceptions.h:20
Exception thrown when an unvalid alphabet is specified.
Definition: HmmExceptions.h:35
Exception thrown when an unvalid state is requested.
Definition: HmmExceptions.h:20