Updating exception class