Search in sources :

Example 16 with ErrorCode

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

the class ErrorCodeRegistry method getFileUpdateError.

/**
 * @return
 */
public static ErrorCode getFileUpdateError(String filename) {
    ErrorCode err = new ErrorCode();
    err.setCode(520);
    err.setName("Error updating file");
    err.setDescription(defaultBundle.getString("Error.app.updatefile") + " (" + filename + ")");
    sendGAErrorCode(err);
    return err;
}
Also used : ErrorCode(com.att.aro.core.pojo.ErrorCode)

Example 17 with ErrorCode

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

the class ErrorCodeRegistry method getIncorrectSerialNumber.

/**
 * Incorrect Serial Number
 * @return
 */
public static ErrorCode getIncorrectSerialNumber() {
    ErrorCode err = new ErrorCode();
    err.setCode(507);
    err.setName("Incorrect Serial Number");
    err.setDescription(defaultBundle.getString("Error.incorrectserialnumber"));
    sendGAErrorCode(err);
    return err;
}
Also used : ErrorCode(com.att.aro.core.pojo.ErrorCode)

Example 18 with ErrorCode

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

the class ErrorCodeRegistry method getImageDecoderError.

public static ErrorCode getImageDecoderError(String message) {
    ErrorCode err = new ErrorCode();
    err.setCode(527);
    err.setName("ImageDecoder Error");
    err.setDescription(message);
    sendGAErrorCode(err);
    return err;
}
Also used : ErrorCode(com.att.aro.core.pojo.ErrorCode)

Example 19 with ErrorCode

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

the class ErrorCodeRegistry method getExtractProvPropertyValuesError.

/**
 * @return
 */
public static ErrorCode getExtractProvPropertyValuesError() {
    ErrorCode err = new ErrorCode();
    err.setCode(523);
    err.setName("Failed to get provisioning profile property values");
    err.setDescription(defaultBundle.getString("Error.app.getprovpropsfailed"));
    sendGAErrorCode(err);
    return err;
}
Also used : ErrorCode(com.att.aro.core.pojo.ErrorCode)

Example 20 with ErrorCode

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

the class ErrorCodeRegistry method getCreateEntitlementsFileError.

/**
 * @return
 */
public static ErrorCode getCreateEntitlementsFileError() {
    ErrorCode err = new ErrorCode();
    err.setCode(518);
    err.setName("Failed to create entitlements.plist for re-signing app");
    err.setDescription(defaultBundle.getString("Error.app.createentitlements"));
    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