8 #ifndef MOLECULARMECHANICS_MMEXCEPTIONS_H
9 #define MOLECULARMECHANICS_MMEXCEPTIONS_H
20 namespace MolecularMechanics {
25 message_ =
"No bond parameters for " + atom1 +
"-" + atom2;
28 const char* what()
const noexcept
override {
29 return message_.c_str();
39 message_ =
"No angle parameters for " + atom1 +
"-" + atom2 +
"-" + atom3;
42 const char* what()
const noexcept
override {
43 return message_.c_str();
53 const std::string& atom3,
const std::string& atom4) {
54 message_ =
"No dihedral parameters for " + atom1 +
"-" + atom2 +
"-" + atom3 +
"-" + atom4;
57 const char* what()
const noexcept
override {
58 return message_.c_str();
68 const std::string& atom3,
const std::string& atom4) {
69 message_ =
"No improper dihedral parameters for " + atomCentral +
"-" + atom2 +
"-" + atom3 +
"-" + atom4;
72 const char* what()
const noexcept
override {
73 return message_.c_str();
83 message_ =
"There are no Lennard Jones (vdW) parameters for " + atomType;
86 const char* what()
const noexcept
override {
87 return message_.c_str();
109 #endif // MOLECULARMECHANICS_MMEXCEPTIONS_H
Definition: MMExceptions.h:80
Definition: MMExceptions.h:94
Definition: MMExceptions.h:65
Definition: MMExceptions.h:22
Definition: MMExceptions.h:50
Definition: MMExceptions.h:36
Definition: MMExceptions.h:100