No Description

OceanException.class.php 322B

123456789101112131415
  1. <?php
  2. class OceanException extends RuntimeException {
  3. private $errorCode;
  4. function __construct($message = null, $code = 0) {
  5. parent::__construct ( $message, $code );
  6. }
  7. public function setErrorCode($errorCode) {
  8. $this->errorCode = $errorCode;
  9. }
  10. public function getErrorCode() {
  11. return $this->errorCode;
  12. }
  13. }
  14. ?>