Search in sources :

Example 21 with ErrorCode

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

the class ErrorCodeRegistry method getFailedToCreateLocalTraceDirectory.

/**
 * failed to create local directory in user's machine to save trace data to.
 * @return
 */
public static ErrorCode getFailedToCreateLocalTraceDirectory() {
    ErrorCode err = new ErrorCode();
    err.setCode(503);
    err.setName("Failed to create local trace directory");
    err.setDescription(ApplicationConfig.getInstance().getAppShortName() + " tried to create local directory for saving trace data, but failed.");
    sendGAErrorCode(err);
    return err;
}
Also used : ErrorCode(com.att.aro.core.pojo.ErrorCode)

Example 22 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(501);
    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 23 with ErrorCode

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

the class ErrorCodeRegistry method getSudoPasswordIssue.

/**
 * sudo Password Issue
 * @return
 */
public static ErrorCode getSudoPasswordIssue() {
    ErrorCode err = new ErrorCode();
    err.setCode(504);
    err.setName("sudo Password Issue");
    err.setDescription(defaultBundle.getString("Error.sudopasswordissue"));
    sendGAErrorCode(err);
    return err;
}
Also used : ErrorCode(com.att.aro.core.pojo.ErrorCode)

Example 24 with ErrorCode

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

the class ErrorCodeRegistry method getRemoveCodeSignatureError.

/**
 * @return
 */
public static ErrorCode getRemoveCodeSignatureError() {
    ErrorCode err = new ErrorCode();
    err.setCode(517);
    err.setName("Failed to remove _CodeSignature folder");
    err.setDescription(defaultBundle.getString("Error.app.removecodesignature"));
    sendGAErrorCode(err);
    return err;
}
Also used : ErrorCode(com.att.aro.core.pojo.ErrorCode)

Example 25 with ErrorCode

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

the class ErrorCodeRegistry method getIOSInvalidSudoPassword.

public static ErrorCode getIOSInvalidSudoPassword() {
    ErrorCode error = new ErrorCode();
    error.setCode(500);
    error.setName("Error.validatepassword");
    error.setDescription("There was an error validating password.");
    sendGAErrorCode(error);
    return error;
}
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