use of com.att.aro.core.pojo.ErrorCode in project VideoOptimzer by attdevsupport.
the class ErrorCodeRegistry method getTimeoutVpnActivation.
public static ErrorCode getTimeoutVpnActivation() {
ErrorCode err = new ErrorCode();
err.setCode(407);
err.setName("VPN activation timeout");
err.setDescription(ApplicationConfig.getInstance().getAppShortName() + " failed to get the VPN service to activate.");
sendGAErrorCode(err);
return err;
}
use of com.att.aro.core.pojo.ErrorCode in project VideoOptimzer by attdevsupport.
the class ErrorCodeRegistry method getTraceDirExist.
public static ErrorCode getTraceDirExist() {
ErrorCode err = new ErrorCode();
err.setCode(402);
err.setName("Found existing trace directory that is not empty");
err.setDescription(ApplicationConfig.getInstance().getAppShortName() + " found an existing directory that contains files and did not want to override it. Some files may be hidden.");
sendGAErrorCode(err);
return err;
}
use of com.att.aro.core.pojo.ErrorCode in project VideoOptimzer by attdevsupport.
the class ErrorCodeRegistry method getFaildedToRunVpnApk.
public static ErrorCode getFaildedToRunVpnApk() {
ErrorCode err = new ErrorCode();
err.setCode(405);
err.setName("Failed to run VPN APK");
err.setDescription(ApplicationConfig.getInstance().getAppShortName() + " failed to run Data Collector in device");
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(401);
err.setName("Failed to install Android App on device");
err.setDescription(ApplicationConfig.getInstance().getAppShortName() + " tried to install " + ApplicationConfig.getInstance().getVPNCollectorName() + " on device and failed.");
sendGAErrorCode(err);
return err;
}
use of com.att.aro.core.pojo.ErrorCode in project VideoOptimzer by attdevsupport.
the class ErrorCodeRegistry method getTcpdumpPermissionIssue.
public static ErrorCode getTcpdumpPermissionIssue() {
ErrorCode err = new ErrorCode();
err.setCode(212);
err.setName("Failed to set execute permission on Tcpdump on device");
err.setDescription("Error occured while trying to set permission on tcpdump file on device. Execute permission is required to run it.");
sendGAErrorCode(err);
return err;
}
Aggregations