Search in sources :

Example 76 with ErrorCode

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

the class ErrorCodeRegistry method getOutputRequired.

public static ErrorCode getOutputRequired() {
    ErrorCode err = new ErrorCode();
    err.setCode(301);
    err.setName("Output location missing");
    err.setDescription("location to save data to was not given.");
    sendGAErrorCode(err);
    return err;
}
Also used : ErrorCode(com.att.aro.core.pojo.ErrorCode)

Example 77 with ErrorCode

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

the class ErrorCodeRegistry method getNetworkNotActivatedError.

public static ErrorCode getNetworkNotActivatedError() {
    ErrorCode err = new ErrorCode();
    err.setCode(312);
    err.setName("No Internet sharing detected");
    err.setDescription("Please turn on the WIFI sharing!");
    sendGAErrorCode(err);
    return err;
}
Also used : ErrorCode(com.att.aro.core.pojo.ErrorCode)

Example 78 with ErrorCode

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

the class ErrorCodeRegistry method getUnsupportedFormat.

public static ErrorCode getUnsupportedFormat() {
    ErrorCode err = new ErrorCode();
    err.setCode(302);
    err.setName("Unsupported report format");
    err.setDescription("Report format entered is not supported. Type --help to see supported commands and options.");
    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