Search in sources :

Example 71 with ErrorCode

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

the class ErrorCodeRegistry method getCollectorNotfound.

public static ErrorCode getCollectorNotfound() {
    ErrorCode err = new ErrorCode();
    err.setCode(305);
    err.setName("Collector not found");
    err.setDescription("Data collector specified cannot be found. Make sure data collector is installed.");
    sendGAErrorCode(err);
    return err;
}
Also used : ErrorCode(com.att.aro.core.pojo.ErrorCode)

Example 72 with ErrorCode

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

the class ErrorCodeRegistry method getInvalidProfileThrottleInput.

public static ErrorCode getInvalidProfileThrottleInput() {
    ErrorCode err = new ErrorCode();
    err.setCode(311);
    err.setName("Unable to accept profile and throttle at the same time");
    err.setDescription("Unable to accept profile and throttle at the same time, it is one feature at the time.");
    sendGAErrorCode(err);
    return err;
}
Also used : ErrorCode(com.att.aro.core.pojo.ErrorCode)

Example 73 with ErrorCode

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

the class ErrorCodeRegistry method getInvalidDownlink.

public static ErrorCode getInvalidDownlink() {
    ErrorCode err = new ErrorCode();
    err.setCode(310);
    err.setName("Invalid downlink throttle value");
    err.setDescription("Downlink value should be a number and range from 64 to 100m(102400k).");
    sendGAErrorCode(err);
    return err;
}
Also used : ErrorCode(com.att.aro.core.pojo.ErrorCode)

Example 74 with ErrorCode

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

the class ErrorCodeRegistry method getInvalidUplink.

public static ErrorCode getInvalidUplink() {
    ErrorCode err = new ErrorCode();
    err.setCode(309);
    err.setName("Invalid uplink throttle value");
    err.setDescription("Uplink value should be a number and range from 64 to 100m(102400k).");
    sendGAErrorCode(err);
    return err;
}
Also used : ErrorCode(com.att.aro.core.pojo.ErrorCode)

Example 75 with ErrorCode

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

the class ErrorCodeRegistry method getUnsupportedCollector.

public static ErrorCode getUnsupportedCollector() {
    ErrorCode error = new ErrorCode();
    error.setCode(300);
    error.setName("Unsupported collector");
    error.setDescription("Collector name passed in is not supported.");
    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