TurboDB Engine Documentation
Error Handling in TurboDB Managed
|Previous Top Next|
TurboDB Managed works with exception classes exclusively. There is no error code whatsoever. There are these main categories of errors:
TurboDBException is the base class for all normal exceptions. This includes SQL syntax errors, naming resolution problems, constraint violations etc.
TurboDBInternalError denotes an inconsistent state within the database engine.
TurboDBStorageException is thrown, when a database file is damaged.
TurboDBException has derived classes that indicate the reason of the problem, the other exceptions speak for themselves.