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