Added UserException class.