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(412);
err.setName("Android device not online.");
err.setDescription(ApplicationConfig.getInstance().getAppShortName() + " 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 getFailSyncService.
public static ErrorCode getFailSyncService() {
ErrorCode err = new ErrorCode();
err.setCode(411);
err.setName("Failed to connect to device SyncService");
err.setDescription(ApplicationConfig.getInstance().getAppShortName() + " failed to get the trace, since it's not able to connect to Device");
sendGAErrorCode(err);
return err;
}
use of com.att.aro.core.pojo.ErrorCode in project VideoOptimzer by attdevsupport.
the class ErrorCodeRegistry method getCollectorAlreadyRunning.
public static ErrorCode getCollectorAlreadyRunning() {
ErrorCode err = new ErrorCode();
err.setCode(206);
err.setName(ApplicationConfig.getInstance().getAppShortName() + ApplicationConfig.getInstance().getVPNCollectorName() + " is already running");
err.setDescription("There is already a " + ApplicationConfig.getInstance().getVPNCollectorName() + " running on this device. Stop it first, manually, before starting a new trace.");
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(406);
err.setName("Failed to create local trace directory");
err.setDescription(ApplicationConfig.getInstance().getAppShortName() + " 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 getNoDeviceConnected.
public static ErrorCode getNoDeviceConnected() {
ErrorCode err = new ErrorCode();
err.setCode(403);
err.setName("No Android device found.");
err.setDescription(ApplicationConfig.getInstance().getAppShortName() + " cannot find any Android device plugged into the machine.");
sendGAErrorCode(err);
return err;
}
Aggregations