tmgmt.exception.inc 376 B

1234567891011121314151617
  1. <?php
  2. /**
  3. * TMGMT Exception class
  4. */
  5. class TMGMTException extends Exception {
  6. /**
  7. * @param string $message
  8. * @param array $data
  9. * Associative array of dynamic data that will be inserted into $message.
  10. * @param int $code
  11. */
  12. function __construct($message = "", $data = array(), $code = 0) {
  13. parent::__construct(strtr($message, $data), $code);
  14. }
  15. }