Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros | Functions
Exceptions.hh File Reference

common derived classes for thrown exceptions More...

#include <utility/excn/Exceptions.fwd.hh>
#include <utility>
#include <string>
#include <iosfwd>
#include <exception>

Classes

class  utility::excn::Exception
 
class  utility::excn::IOError
 
class  utility::excn::BadInput
 EXCN_BadInput, as an IO error, should only be used for bad user input. Do not use for something which is just bad function input. More...
 
class  utility::excn::FileNotFound
 
class  utility::excn::RangeError
 
class  utility::excn::KeyError
 
class  utility::excn::NullPointerError
 
class  utility::excn::UserCorrectableIssue
 
class  utility::excn::RosettaScriptsOptionError
 

Namespaces

 utility
 unresizable vector whose size is known at compile time, which may be allocated on the stack, and which indexes from 0.
 
 utility::excn
 

Macros

#define CREATE_EXCEPTION(type,...)   type(__FILE__, __LINE__, __VA_ARGS__)
 

Functions

std::ostream & utility::excn::operator<< (std::ostream &os, Exception const &excn)
 

Detailed Description

common derived classes for thrown exceptions

Author
Oliver Lange
Sergey Lyskov

Macro Definition Documentation

#define CREATE_EXCEPTION (   type,
  ... 
)    type(__FILE__, __LINE__, __VA_ARGS__)

Referenced by basic::options::add_anonymous_option(), utility::tag::XMLSchemaComplexTypeGeneratorImpl::add_ordered_subelement_set_as_optional(), utility::tag::XMLSchemaComplexTypeGeneratorImpl::add_ordered_subelement_set_as_required(), utility::tag::XMLSchemaSimpleSubelementList::add_simple_subelement(), utility::tag::XMLSchemaDefinition::add_top_level_element(), basic::datacache::DataMap::category_map(), numeric::Polynomial_1d::check_invariants(), utility::options::OptionCollection::check_key(), utility::options::Option::check_restricted_access(), basic::database::DatabaseSessionLoader::create_resource(), basic::resource_manager::ResourceLoaderFactory::create_resource_loader(), basic::resource_manager::ResourceLocatorFactory::create_resource_locator(), utility::tag::define_xml_schema_group(), utility::tag::XMLSchemaAttribute::description(), utility::tag::XMLSchemaComplexType::description(), utility::tag::XMLSchemaComplexTypeGeneratorImpl::description(), utility::tag::XMLSchemaSimpleSubelementList::element_summary_as_simple_subelement(), basic::resource_manager::ResourceManagerFactory::factory_register(), basic::datacache::WriteableCacheableDataFactory::factory_register(), basic::resource_manager::ResourceLocatorFactory::factory_register(), basic::resource_manager::ResourceLoaderFactory::factory_register(), utility::file_contents(), basic::resource_manager::locator::FileStream::FileStream(), utility::options::OptionCollection::find_key_cl(), utility::options::OptionCollection::find_key_file(), basic::datacache::DataMap::get(), basic::datacache::ConstDataMap::get(), basic::datacache::HierarchicalDataMap::get(), utility::io::FileContentsMap::get_file_contents(), utility::json_spirit::get_int(), utility::json_spirit::get_mArray(), utility::json_spirit::get_mObject(), basic::resource_manager::get_option_from_map(), basic::datacache::DataMap::get_ptr(), basic::datacache::ConstDataMap::get_ptr(), utility::json_spirit::get_real(), basic::datacache::DataMap::get_resource(), basic::resource_manager::ResourceManager::get_resource(), utility::json_spirit::get_string(), utility::json_spirit::get_value(), utility::tag::Tag::getOption(), utility::tag::Tag::getTag(), MPDomainAssembly::init_from_cmd(), basic::resource_manager::ResourceManager::initialize_from_commandline(), utility::options::OptionCollection::load(), utility::options::OptionCollection::load_option_cl(), utility::options::OptionCollection::load_option_file(), utility::options::OptionCollection::load_option_from_file(), utility::options::OptionCollection::load_options_from_file_exception(), utility::options::OptionCollection::load_options_from_stream(), basic::resource_manager::locator::DatabaseResourceLocator::locate_resource_stream(), basic::resource_manager::locator::FileSystemResourceLocator::locate_resource_stream(), main(), maybe_throw_on_next_assertion_failure(), my_main(), utility::tag::name_for_common_type(), basic::datacache::WriteableCacheableDataFactory::new_data_instance(), numeric::xyzVector< core::Real >::normalize(), numeric::xyzVector< core::Real >::normalized(), basic::database::open(), basic::resource_manager::locator::FileStream::open(), utility::pad_atom_name(), basic::resource_manager::locator::DatabaseResourceLocator::parse_my_tag(), utility::SimulateMPIData::pop_next_message_for_node_of_type(), utility::SimulateMPIData::pop_next_message_of_type(), utility::tag::XMLSchemaComplexTypeGeneratorImpl::prepare_sequence_of_subelement_sets(), utility::tag::XMLSchemaComplexTypeGeneratorImpl::prepare_subelement_choice_opt(), utility::tag::XMLSchemaComplexTypeGeneratorImpl::prepare_subelement_choice_req(), utility::tag::XMLSchemaComplexTypeGeneratorImpl::prepare_subelement_repeatable(), utility::tag::XMLSchemaComplexTypeGeneratorImpl::prepare_subelement_single_instance_optional(), utility::tag::Tag::read(), read_fasta(), utility::json_spirit::read_mArray(), utility::json_spirit::read_mObject(), read_pose(), basic::resource_manager::ResourceManager::read_resource_locators_tags(), basic::resource_manager::ResourceManager::read_resources_tags(), utility::SimulateMPIData::retrieve_next_message(), utility::tag::XMLSchemaRepeatableCTNode::set_element_w_attributes(), utility::subset_mapping::set_next_correspondence(), utility::options::OptionCollection::set_option_value_cl(), utility::options::OptionCollection::set_option_value_file(), utility::tag::XMLSchemaComplexTypeGeneratorImpl::set_subelements_single_appearance_optional(), utility::tag::XMLSchemaComplexTypeGeneratorImpl::set_subelements_single_appearance_required(), numeric::sin_cos_range(), utility::options::std_exit_wrapper(), utility::tag::XMLSchemaModelGroup::validate_content(), basic::resource_manager::ResourceManager::validate_input_against_xsd(), utility::tag::XMLSchemaDefinition::validate_new_top_level_element(), utility::tag::XMLSchemaComplexTypeGeneratorImpl::write_complex_type_to_schema(), and utility::tag::XMLSchemaAttribute::XMLSchemaAttribute().