Search in sources :

Example 31 with ErrorCode

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;
}
Also used : ErrorCode(com.att.aro.core.pojo.ErrorCode)

Example 32 with ErrorCode

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;
}
Also used : ErrorCode(com.att.aro.core.pojo.ErrorCode)

Example 33 with ErrorCode

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;
}
Also used : ErrorCode(com.att.aro.core.pojo.ErrorCode)

Example 34 with ErrorCode

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;
}
Also used : ErrorCode(com.att.aro.core.pojo.ErrorCode)

Example 35 with ErrorCode

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;
}
Also used : ErrorCode(com.att.aro.core.pojo.ErrorCode)

Aggregations

ErrorCode (com.att.aro.core.pojo.ErrorCode)78 ImHereThread (com.att.aro.console.printstreamutils.ImHereThread)1 OutSave (com.att.aro.console.printstreamutils.OutSave)1 IAROService (com.att.aro.core.IAROService)1 TsharkException (com.att.aro.core.exception.TsharkException)1 IFileManager (com.att.aro.core.fileio.IFileManager)1 AROTraceData (com.att.aro.core.pojo.AROTraceData)1 IOException (java.io.IOException)1