thrownewDaemonException(ExceptionType.AuthenticationFailure,"Response was '"+result.replace("\n","")+"' instead of a proper JSON object (and we used auth token '"+authtoken+"')");
thrownewDaemonException(ExceptionType.AuthenticationFailure,"Response was '"+result.replace("\n","")+"' instead of a proper JSON object (and we used auth token '"+authtoken+"')");