CustomException now implements exception.