replaced runtime exception with illegal argument exception for extractor, response handler and xpath