summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/exception.inc
blob: e40333996544f9c78fe086da2884d6aa05952143 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
class ReflectionExceptionEx extends ReflectionException {
        function MyException($_errno, $_errmsg) {
                $this->errno = $_errno;
                $this->errmsg = $_errmsg;
        }
                                                                                                                                                            
        function getErrno() {
                return $this->errno;
        }
                                                                                                                                                            
        function getErrmsg() {
                return $this->errmsg;
        }
}
?>