use of com.att.aro.core.pojo.ErrorCode in project VideoOptimzer by attdevsupport.
the class ErrorCodeRegistry method getFileExist.
public static ErrorCode getFileExist() {
ErrorCode err = new ErrorCode();
err.setCode(304);
err.setName("File or directory exists");
err.setDescription("ARO found existing file or directory");
sendGAErrorCode(err);
return err;
}
use of com.att.aro.core.pojo.ErrorCode in project VideoOptimzer by attdevsupport.
the class ErrorCodeRegistry method getMissingFolderName.
/**
* Missing folder name
* @return
*/
public static ErrorCode getMissingFolderName() {
ErrorCode err = new ErrorCode();
err.setCode(513);
err.setName("missing folder name");
err.setDescription(defaultBundle.getString("Error.foldernamerequired"));
sendGAErrorCode(err);
return err;
}
use of com.att.aro.core.pojo.ErrorCode in project VideoOptimzer by attdevsupport.
the class ErrorCodeRegistry method getFailedToLoadXCode.
/**
* failed to find XCode on local machine
* @return
*/
public static ErrorCode getFailedToLoadXCode() {
ErrorCode err = new ErrorCode();
err.setCode(505);
err.setName("Failed to find XCode on local machine");
err.setDescription(ApplicationConfig.getInstance().getAppShortName() + " tried to load XCode on local machine, but failed because XCode is not installed.");
sendGAErrorCode(err);
return err;
}
use of com.att.aro.core.pojo.ErrorCode in project VideoOptimzer by attdevsupport.
the class ErrorCodeRegistry method getAppUnzipError.
/**
* @return
*/
public static ErrorCode getAppUnzipError() {
ErrorCode err = new ErrorCode();
err.setCode(525);
err.setName("Error unzipping app");
err.setDescription(defaultBundle.getString("Error.app.unzipapp"));
sendGAErrorCode(err);
return err;
}
use of com.att.aro.core.pojo.ErrorCode in project VideoOptimzer by attdevsupport.
the class ErrorCodeRegistry method getNoSudoPassword.
/**
* No sudo Password
* @return
*/
public static ErrorCode getNoSudoPassword() {
ErrorCode err = new ErrorCode();
err.setCode(508);
err.setName("No sudo Password");
err.setDescription(MessageFormat.format(defaultBundle.getString("Error.nosudopassword"), ApplicationConfig.getInstance().getAppShortName()));
sendGAErrorCode(err);
return err;
}
Aggregations