Base class for all SimGear exceptions. More...
Base class for all SimGear exceptions.
SimGear-based code should throw this exception only when no more specific exception applies. It may not be caught until higher up in the application, where it is not possible to resume normal operations if desired.
A caller can catch sg_exception by default to ensure that all exceptions are caught. Every SimGear exception can contain a human-readable error message and a human-readable string indicating the part of the application causing the exception (as an aid to debugging, only).