Search in sources :

Example 41 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(202);
    err.setName("Found existing trace directory that is not empty");
    err.setDescription(ApplicationConfig.getInstance().getAppName() + " 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 42 with ErrorCode

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

Example 43 with ErrorCode

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(211);
    err.setName("Failed to connect to device SyncService");
    err.setDescription(ApplicationConfig.getInstance().getAppName() + " failed to get SyncService() from IDevice which is used for data transfer");
    sendGAErrorCode(err);
    return err;
}
Also used : ErrorCode(com.att.aro.core.pojo.ErrorCode)

Example 44 with ErrorCode

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

the class ErrorCodeRegistry method getFailToExtractTcpdump.

public static ErrorCode getFailToExtractTcpdump() {
    ErrorCode err = new ErrorCode();
    err.setCode(208);
    err.setName("Failed to extract tcpdump");
    err.setDescription(ApplicationConfig.getInstance().getAppName() + " failed to extract tcpdump from resource bundle and save it to local machine.");
    sendGAErrorCode(err);
    return err;
}
Also used : ErrorCode(com.att.aro.core.pojo.ErrorCode)

Example 45 with ErrorCode

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

the class ErrorCodeRegistry method getLostConnection.

public static ErrorCode getLostConnection(String message) {
    ErrorCode err = new ErrorCode();
    err.setCode(414);
    err.setName("Lost connection");
    err.setDescription("lost AndroidDebugBridge connection" + message);
    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