1: // Created by Frank M. Carrano and Timothy M. Henry. 2: // Copyright (c) 2017 Pearson Education, Hoboken, New Jersey. 4: #include <stdexcept> 5: #include <string> 6: class TargetNotFoundException: public std::exception 7: { 8: public : 9: TargetNotFoundException(const std::string& message = "") 10: : std::exception("Target not found: " + message) 11: { 12: } // end constructor 13: }; // end TargetNotFoundException