Search in sources :

Example 56 with ErrorCode

use of com.att.aro.core.pojo.ErrorCode in project VideoOptimzer by attdevsupport.

the class ErrorCodeRegistry method getDumpcapError.

public static ErrorCode getDumpcapError() {
    ErrorCode err = new ErrorCode();
    err.setCode(528);
    err.setName("Dumpcap Error");
    err.setDescription(defaultBundle.getString("Error.app.dumpcap"));
    sendGAErrorCode(err);
    return err;
}
Also used : ErrorCode(com.att.aro.core.pojo.ErrorCode)

Example 57 with ErrorCode

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(502);
    err.setName("No iOS device found.");
    err.setDescription(ApplicationConfig.getInstance().getAppShortName() + " cannot find any iOS deviced plugged into the machine.");
    sendGAErrorCode(err);
    return err;
}
Also used : ErrorCode(com.att.aro.core.pojo.ErrorCode)

Example 58 with ErrorCode

use of com.att.aro.core.pojo.ErrorCode in project VideoOptimzer by attdevsupport.

the class ErrorCodeRegistry method getUnsupportedXCodeVersion.

/**
 * Unsupported XCode Version
 * @return
 */
public static ErrorCode getUnsupportedXCodeVersion() {
    ErrorCode err = new ErrorCode();
    err.setCode(506);
    err.setName("Unsupported XCode Version");
    err.setDescription(defaultBundle.getString("Error.xcodeversionunsupported"));
    sendGAErrorCode(err);
    return err;
}
Also used : ErrorCode(com.att.aro.core.pojo.ErrorCode)

Example 59 with ErrorCode

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(204);
    err.setName("Android device Id or serial number not found.");
    err.setDescription(ApplicationConfig.getInstance().getAppName() + " cannot find any Android deviced plugged into the machine that matched the device Id or serial number you specified.");
    sendGAErrorCode(err);
    return err;
}
Also used : ErrorCode(com.att.aro.core.pojo.ErrorCode)

Example 60 with ErrorCode

use of com.att.aro.core.pojo.ErrorCode in project VideoOptimzer by attdevsupport.

the class ErrorCodeRegistry method getFailToRunApk.

public static ErrorCode getFailToRunApk() {
    ErrorCode err = new ErrorCode();
    err.setCode(210);
    err.setName("Failed to run " + ApplicationConfig.getInstance().getAppName() + " Data Collector");
    err.setDescription(ApplicationConfig.getInstance().getAppName() + " Analyzer tried to run Data Collector on device and received error from device.");
    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