The Page class is now responsible for executing the subpage template rather than the index file. Template processing has been improved with exceptions to catch 404s, or any other template exception, which will abort the current page and display an error document instead.
18 lines
832 B
PHP
18 lines
832 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 {};
|
|
|
|
class HandBrakeCluster_Exception_TemplateException extends Exception {};
|
|
class HandBrakeCluster_Exception_Unauthorized extends HandBrakeCluster_Exception_TemplateException {};
|
|
class HandBrakeCluster_Exception_FileNotFound extends HandBrakeCluster_Exception_TemplateException {};
|
|
|
|
?>
|