com.cybelia.sandra.ibu
Class ReturnCodeHelper
java.lang.Object
com.cybelia.sandra.ibu.ReturnCodeHelper
public class ReturnCodeHelper
- extends Object
Les codes de retours sont de la forme:
0 - OK
1 - Erreur de parsing uniquement
2 - Erreur d'injector uniquement
3 - Erreur de parsing et d'injector ...
- Author:
- thimel
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARSER_ERROR_CODE
public static final int PARSER_ERROR_CODE
- See Also:
- Constant Field Values
INJECTOR_ERROR_CODE
public static final int INJECTOR_ERROR_CODE
- See Also:
- Constant Field Values
GENERAL_ERROR_CODE
public static final int GENERAL_ERROR_CODE
- See Also:
- Constant Field Values
ReturnCodeHelper
public ReturnCodeHelper()
getReturnCode
public static int getReturnCode(boolean hasParserError,
boolean hasInjectorError)
hasParserError
public static boolean hasParserError(int returnCode)
hasInjectorError
public static boolean hasInjectorError(int returnCode)
hasGeneralError
public static boolean hasGeneralError(int returnCode)
Copyright © 2008-2012 Cybelia. All Rights Reserved.