1 #ifndef Rice__Exception_defn__hpp_
2 #define Rice__Exception_defn__hpp_
4 #include "Exception_Base_defn.hpp"
6 #include "Address_Registration_Guard_defn.hpp"
9 #include "detail/ruby.hpp"
57 virtual char const *
what()
const throw();
62 mutable VALUE message_;
A guard to register a given address with the GC.
Definition: Address_Registration_Guard_defn.hpp:31
An abstract interface for Exception.
Definition: Exception_Base_defn.hpp:16
A placeholder for Ruby exceptions.
Definition: Exception_defn.hpp:26
String message() const
Get the message the exception holds.
Exception(VALUE e)
Construct a Exception with the exception e.
virtual ~Exception()
Destructor.
Definition: Exception_defn.hpp:43
Exception(Exception const &other)
Copy constructor.
virtual char const * what() const
Get message as a char const *.
Exception(Object exc, char const *fmt,...)
Construct a Exception with printf-style formatting.
The base class for all Objects.
Definition: Object_defn.hpp:25
A Wraper for the ruby String class.
Definition: String.hpp:25