How does GRANITE handle errors and exceptions?
In C++ and Java, GRANITE throws exceptions to signal error conditions. Exceptions in COM are handled using COM’s standard error-handling facilities. The exception object contains detailed information about the error, such as the severity and type of error, the action that should be taken to recover, and specific geometric information depending on the particular error condition.