<?php class TDatabaseException extends TException { } class TDbConnectionException extends TDatabaseException { } ?>