Added exception throwing in prepareRequest