Add exception class