} catch (IOException e) { String msg = "Could not find schema file for "+ location; return nullOrException(isSchemaOn, msg, e); } else { String msg = "Could not find schema file for "+location; return nullOrException(isSchemaOn, msg, null); } catch (JsonParseException e) { String msg = "Unable to load Resource Schema for "+location; return nullOrException(isSchemaOn, msg, e); } catch (JsonMappingException e) { String msg = "Unable to load Resource Schema for "+location; return nullOrException(isSchemaOn, msg, e); } catch (IOException e) { String msg = "Unable to load Resource Schema for "+location; return nullOrException(isSchemaOn, msg, e);