exception.php 593 B

12345678910111213141516171819202122232425262728
  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. }