summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/exception.inc
blob: da3fceaac77ab0fe2620fb723efe6ab6cd1782a2 (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;
        }
}
?>