| 
    crown
    1.0.0
    
   
   | 
  
  
  
 
#include <CrownException.hpp>
Public Member Functions | |
| CrownException (const std::string &message) | |
| CrownException (const char *message) | |
| virtual | ~CrownException () throw () | 
| virtual const char * | what () const throw () | 
Protected Attributes | |
| std::string | msg | 
Exception thrown upon failed cast attempts from a superclass to a derived class
Definition at line 32 of file CrownException.hpp.
| CrownException::CrownException | ( | const std::string & | message | ) |  [explicit] | 
        
Constructor
| message | Message to display to the screen if the exception is not caught | 
Definition at line 40 of file CrownException.cpp.
| CrownException::CrownException | ( | const char * | message | ) |  [explicit] | 
        
Constructor
| message | Message to display to the screen if the exception is not caught | 
Definition at line 45 of file CrownException.cpp.
| CrownException::~CrownException | ( | ) |   throw () [virtual] | 
        
Destructor
Definition at line 50 of file CrownException.cpp.
| const char * CrownException::what | ( | ) |  const  throw () [virtual] | 
        
Returns a human-readable string that explains the reason that lead to throwing this exception
Definition at line 56 of file CrownException.cpp.
std::string pelib::crown::CrownException::msg [protected] | 
        
Human-readable message to show if the exception is not caught
Definition at line 54 of file CrownException.hpp.