use of com.att.aro.core.pojo.ErrorCode in project VideoOptimzer by attdevsupport.
the class ErrorCodeRegistry method getAdbPullFailure.
public static ErrorCode getAdbPullFailure() {
ErrorCode err = new ErrorCode();
err.setCode(416);
err.setName("ADB command failed to pull data.");
err.setDescription(ApplicationConfig.getInstance().getAppShortName() + " was unable to pull trace from target device.");
sendGAErrorCode(err);
return err;
}
use of com.att.aro.core.pojo.ErrorCode in project VideoOptimzer by attdevsupport.
the class ErrorCodeRegistry method getScriptAdapterError.
public static ErrorCode getScriptAdapterError(String path) {
ErrorCode err = new ErrorCode();
err.setCode(417);
err.setName("Script convert Error");
err.setDescription(ApplicationConfig.getInstance().getAppShortName() + " was unable to read the profile " + path);
sendGAErrorCode(err);
return err;
}
use of com.att.aro.core.pojo.ErrorCode in project VideoOptimzer by attdevsupport.
the class ErrorCodeRegistry method getNotSupported.
public static ErrorCode getNotSupported(String message) {
ErrorCode err = new ErrorCode();
err.setCode(415);
err.setName("ABI X86 Not Supported");
err.setDescription(message);
sendGAErrorCode(err);
return err;
}
use of com.att.aro.core.pojo.ErrorCode in project VideoOptimzer by attdevsupport.
the class ErrorCodeRegistry method getDeviceIdNotFound.
/**
* no device id matched the device list
*
* @return
*/
public static ErrorCode getDeviceIdNotFound() {
ErrorCode err = new ErrorCode();
err.setCode(404);
err.setName("Android device Id or serial number not found.");
err.setDescription(ApplicationConfig.getInstance().getAppShortName() + " cannot find any Android device plugged into the machine that matched the device ID or serial number you specified.");
sendGAErrorCode(err);
return err;
}
use of com.att.aro.core.pojo.ErrorCode in project VideoOptimzer by attdevsupport.
the class ErrorCodeRegistry method getAndroidBridgeFailedToStart.
public static ErrorCode getAndroidBridgeFailedToStart() {
ErrorCode error = new ErrorCode();
error.setCode(400);
error.setName("Android Debug Bridge failed to start");
error.setDescription(ApplicationConfig.getInstance().getVPNCollectorName() + " tried to start Android Debug Bridge service. The service was not started successfully.");
sendGAErrorCode(error);
return error;
}
Aggregations