Code example for MalformedURLException

Methods: toString

0
				logger.error("Unable to load patron information from for " + cat_username + ": expected to get back an input stream, received a "
						+ patronDataRaw.getClass().getName());
				processLog.incErrors();
			} 
		} catch (MalformedURLException e) {
			logger.error("Bad url for patron API " + e.toString());
			processLog.incErrors();
		} catch (IOException e) {
			logger.error("Unable to retrieve information from patron API for " + cat_username + ": " + e.toString());
			processLog.incErrors();
		} 
	} 
	 
	private boolean processCheckedOutTitle(JSONObject checkedOutItem, long userId) throws JSONException, SQLException, IOException{
		// System.out.println(checkedOutItem.toString()); 
		String bibId = checkedOutItem.getString("id");
		String checkoutDateStr = checkedOutItem.getString("checkoutdate");
		logger.debug(bibId + " : " + checkoutDateStr);
 
		// Get the resource for this bibId 
		long resourceId = getResourceForBib(bibId, "VuFind");