use of com.att.aro.core.pojo.ErrorCode in project VideoOptimzer by attdevsupport.
the class ErrorCodeRegistry method getNoDeviceConnected.
public static ErrorCode getNoDeviceConnected() {
ErrorCode err = new ErrorCode();
err.setCode(203);
err.setName("No Android device found.");
err.setDescription(ApplicationConfig.getInstance().getAppName() + " cannot find any Android deviced plugged into the machine.");
sendGAErrorCode(err);
return err;
}
use of com.att.aro.core.pojo.ErrorCode in project VideoOptimzer by attdevsupport.
the class ErrorCodeRegistry method getFailedToCreateLocalTraceDirectory.
/**
* failed to create local directory in user's machine to save trace data to.
*
* @return
*/
public static ErrorCode getFailedToCreateLocalTraceDirectory() {
ErrorCode err = new ErrorCode();
err.setCode(207);
err.setName("Failed to create local trace directory");
err.setDescription(ApplicationConfig.getInstance().getAppName() + " tried to create local directory for saving trace data, but failed.");
sendGAErrorCode(err);
return err;
}
use of com.att.aro.core.pojo.ErrorCode in project VideoOptimzer by attdevsupport.
the class ErrorCodeRegistry method getFailToInstallAPK.
public static ErrorCode getFailToInstallAPK() {
ErrorCode err = new ErrorCode();
err.setCode(201);
err.setName("Failed to install Android App on device");
err.setDescription(ApplicationConfig.getInstance().getAppName() + " tried to install Collector on device and failed. Try to manually install it, then try again.");
sendGAErrorCode(err);
return err;
}
use of com.att.aro.core.pojo.ErrorCode in project VideoOptimzer by attdevsupport.
the class ErrorCodeRegistry method getDeviceNotOnline.
public static ErrorCode getDeviceNotOnline() {
ErrorCode err = new ErrorCode();
err.setCode(216);
err.setName("Android device not online.");
err.setDescription(ApplicationConfig.getInstance().getAppName() + " cannot command an Android device that is not online.");
sendGAErrorCode(err);
return err;
}
use of com.att.aro.core.pojo.ErrorCode in project VideoOptimzer by attdevsupport.
the class ErrorCodeRegistry method getCollectorTimeout.
public static ErrorCode getCollectorTimeout() {
ErrorCode err = new ErrorCode();
err.setCode(214);
err.setName("Collector Failed to start traffic capture");
err.setDescription(ApplicationConfig.getInstance().getAppName() + " detected that the collector failed to start capture in time");
sendGAErrorCode(err);
return err;
}
Aggregations