EXCEPTION

Classes

Files

This one is used trough whole vorlib for error handling. Each class that may throw exceptions, make new class that inherits from this one. Then, you can catch them all-in-one like: try {
some code here
}
catch (exception *e) {
and do something with the error
delete e; }
or, instead of catching all, you can catch just some specific exception (like tree_e).

You should definitelly delete the exception, or it will make a resource leak. (Or throw it again and catch it elsewhere)

Interface