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;
}
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;
}
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;
}
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;
}
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;
}
Aggregations