Improved database abstraction class to support insert and select queries in various forms. Added classes for pulling log entries back out of the database. Updated Job class to describe a known job in the database, and added JobStatus to track status updates on jobs. Updated Config class to connect to the database, and load all settings on startup. Improved the class autoloader to support Exceptions in a single file as a special case, and added this file.
14 lines
530 B
PHP
14 lines
530 B
PHP
<?php
|
|
|
|
class HandBrakeCluster_Exception extends Exception {};
|
|
|
|
class HandBrakeCluster_Exception_DatabaseConfigMissing extends Exception {};
|
|
class HandBrakeCluster_Exception_DatabaseConnectFailed extends Exception {};
|
|
class HandBrakeCluster_Exception_NoDatabaseConnection extends Exception {};
|
|
class HandBrakeCluster_Exception_DatabaseQueryFailed extends Exception {};
|
|
class HandBrakeCluster_Exception_ResultCountMismatch extends Exception {};
|
|
|
|
class HandBrakeCluster_Exception_UnknownSetting extends Exception {};
|
|
|
|
?>
|