paludis  Version 2.6.0
Public Member Functions | List of all members
paludis::InternalError Class Reference

#include <exception.hh>

+ Inheritance diagram for paludis::InternalError:

Public Member Functions

 InternalError (const std::string &location, const std::string &message) noexcept
 
- Public Member Functions inherited from paludis::Exception
const std::string & message () const noexcept
 
std::string backtrace (const std::string &delim) const
 
bool empty () const
 
const char * what () const noexcept
 
virtual ~Exception ()
 

Additional Inherited Members

- Protected Member Functions inherited from paludis::Exception
 Exception (const std::string &message) noexcept
 
 Exception (const Exception &)
 

Detailed Description

An InternalError is an Exception that is thrown if something that is never supposed to happen happens.

Examples:
example_dep_spec.cc.

Constructor & Destructor Documentation

paludis::InternalError::InternalError ( const std::string &  location,
const std::string &  message 
)
noexcept

Constructor.

Parameters
locationShould be set to the PALUDIS_HERE macro.
messageA short message.

The documentation for this class was generated from the following file: