src/main/java/org/imsglobal/lti2/LTI2Util.java
public static String parseToolProfile(List<Properties> theTools, Properties info, JSONObject jsonObject)
	{
		try {
			return parseToolProfileInternal(theTools, info, jsonObject);
		} catch (Exception e) {
			M_log.warning("Internal error parsing tool proxy\n"+jsonObject.toString());
			e.printStackTrace();
			return "Internal error parsing tool proxy:"+e.getLocalizedMessage();
		}
	}
public static String parseToolProfile(List<Properties> theTools, Properties info, JSONObject jsonObject)
	{
		try {
			return parseToolProfileInternal(theTools, info, jsonObject);
		} catch (Exception e) {
			M_log.warning("Internal error parsing tool proxy\n"+jsonObject.toString());
			e.printStackTrace();
			return "Internal error parsing tool proxy:"+e.getLocalizedMessage();
		}
	}
public static String parseToolProfile ( List < Properties > theTools , Properties info , JSONObject jsonObject ) { try { return parseToolProfileInternal ( theTools , info , jsonObject ) ; } catch ( Exception e ) { M_log . warning ( "Internal error parsing tool proxy\n" + jsonObject . toString ( ) ) ; e . printStackTrace ( ) ; return "Internal error parsing tool proxy:" + e . getLocalizedMessage ( ) ; } }
Parse a provider profile with lots of error checking...
Parse a provider profile with lots of error checking ...