RequestException class created