adds new exception class