exception.php 593 B

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