public class ReturnCodeHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
GENERAL_ERROR_CODE |
static int |
INJECTOR_ERROR_CODE |
static int |
PARSER_ERROR_CODE |
| Constructor and Description |
|---|
ReturnCodeHelper() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getReturnCode(boolean hasParserError,
boolean hasInjectorError) |
static boolean |
hasGeneralError(int returnCode) |
static boolean |
hasInjectorError(int returnCode) |
static boolean |
hasParserError(int returnCode) |
public static final int PARSER_ERROR_CODE
public static final int INJECTOR_ERROR_CODE
public static final int GENERAL_ERROR_CODE
public static int getReturnCode(boolean hasParserError,
boolean hasInjectorError)
public static boolean hasParserError(int returnCode)
public static boolean hasInjectorError(int returnCode)
public static boolean hasGeneralError(int returnCode)
Copyright © 2008-2013 Cybelia. All Rights Reserved.