adding exception class