Files
handbrake-cluster-webui/HandBrakeCluster/Exceptions.class.php
Ben Roberts 611182d09e Improved template handling with exceptions
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.
2010-03-21 00:39:53 +00:00

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 {};
?>