An exception class thrown during ASL failures to cast.
More...
#include <typeinfo.hpp>
List of all members.
Detailed Description
adobe::bad_cast
is a decendant of std::exception
. It is intended to provide detailed type information regarding the parameters into a cast that failed. If no typeid()
information was used to construct the object, it simply relays "bad_cast".
Definition at line 379 of file typeinfo.hpp.
Constructor & Destructor Documentation
bad_cast |
( |
const std::type_info & |
from, |
|
|
const std::type_info & |
to |
|
) |
| |
- Parameters:
-
from | typeid() result for the source object. |
to | typeid() result for the destination type. |
virtual ~bad_cast |
( |
) |
throw () [virtual] |
Member Function Documentation
virtual const char* what |
( |
) |
const throw () [virtual] |
- Returns:
- Either:
- The string "bad_cast"
- A string detailing the source and destination types that could not be cast successfully.