Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Exceptions.hh
Go to the documentation of this file.
1 // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2 // vi: set ts=2 noet:
3 //
4 // (c) Copyright Rosetta Commons Member Institutions.
5 // (c) This file is part of the Rosetta software suite and is made available under license.
6 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9 
10 // what's the point of having annotations if they're wrong? Serendipitously,
11 // this entire file is an Exception to the coding guidelines!
12 /// @file TopologyBroker
13 /// @brief top-class (Organizer) of the TopologyBroker mechanism
14 /// @detailed responsibilities:
15 /// @author Oliver Lange
16 
17 
18 #ifndef INCLUDED_protocols_loops_Exceptions_HH
19 #define INCLUDED_protocols_loops_Exceptions_HH
20 
21 // Utility headers
22 #include <utility/excn/Exceptions.hh>
23 
24 namespace protocols {
25 namespace loops {
26 
27 class EXCN_Loop_not_closed : public utility::excn::EXCN_Msg_Exception {
28  typedef EXCN_Msg_Exception Parent;
29 public:
30  EXCN_Loop_not_closed( std::string msg = "") : EXCN_Msg_Exception( "failed to close loop " + msg ){};
31 };
32 
33 } // namespace loops
34 } // namespace protocols
35 
36 #endif //INCLUDED_protocols_loops_Exceptions_HH