blob: 0ecb389b7608194d95a76123354e9593ad02d59d [file] [log] [blame]
package com.android.jack.tools.jacoco;
import javax.annotation.Nonnegative;
/**
* An enumeration of possible error codes.
*/
public enum ErrorCode {
USAGE_ERROR(1),
INERNAL_ERROR(2);
@Nonnegative
private final int errorCode;
private ErrorCode(@Nonnegative int errorCode) {
assert errorCode > 0;
this.errorCode = errorCode;
}
@Nonnegative
public int getErrorCode() {
return errorCode;
}
}