Rosetta
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Exceptions.cc
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 /// @file _Exception
11 /// @brief base class for Exception system
12 /// @details responsibilities:
13 /// @author Oliver Lange
14 
15 // Unit Headers
17 
18 // Package Headers
19 #include <string>
20 #include <ostream>
21 
22 namespace utility {
23 namespace excn {
24 
25 void EXCN_Msg_Exception::show( std::ostream& os ) const {
26  os << msg() << std::endl;
27 }
28 
29 }
30 }
common derived classes for thrown exceptions
virtual void show(std::ostream &) const
Definition: Exceptions.cc:25
virtual std::string const msg() const
Definition: Exceptions.hh:66