The method "setErrorMsg" shouldn't always assume that the MARKER_LOCATION will be "Targeted Runtimes".  The location should be passed in as a parameter I think.