exception.php 614 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Clockwork PHP API
  4. *
  5. * @package Clockwork
  6. * @copyright Mediaburst Ltd 2012
  7. * @license ISC
  8. * @link http://www.clockworksms.com
  9. */
  10. /*
  11. * ClockworkException
  12. *
  13. * The Clockwork wrapper class will throw these if a general error
  14. * occurs with your request, for example, an invalid API key.
  15. *
  16. * @package Clockwork
  17. * @subpackage Exception
  18. * @since 1.0
  19. */
  20. class ClockworkException extends Exception {
  21. public function __construct( $message, $code = 0 ) {
  22. // make sure everything is assigned properly
  23. parent::__construct( $message, $code );
  24. }
  25. }