/** * simple api to call often reported error. * Just a wrapper for reportError(). * * @param expectedChar what caller expected * @param currentChar what caller found */ protected void reportCharacterExpectedError( char expectedChar, int currentChar ){ reportError("character.expected", new Object[] {expectedChar, currentChar}); }
/** * simple api to call often reported error. * Just a wrapper for reportError(). * * @param expectedChar what caller expected * @param currentChar what caller found */ protected void reportCharacterExpectedError( char expectedChar, int currentChar ){ reportError("character.expected", new Object[] {expectedChar, currentChar}); }
/** * simple api to call often reported error. * Just a wrapper for reportError(). * * @param currentChar what the caller found and didnt expect */ protected void reportUnexpectedCharacterError( int currentChar ){ reportError("character.unexpected", new Object[] {currentChar}); }
/** * simple api to call often reported error. * Just a wrapper for reportError(). * * @param currentChar what the caller found and didnt expect */ protected void reportUnexpectedCharacterError( int currentChar ){ reportError("character.unexpected", new Object[] {currentChar}); }
/** * simple api to call often reported error. * Just a wrapper for reportError(). * * @param currentChar what the caller found and didnt expect */ protected void reportUnexpectedCharacterError( int currentChar ){ reportError("character.unexpected", new Object[] { new Integer( currentChar ) }); }
/** * simple api to call often reported error. * Just a wrapper for reportError(). * * @param expectedChar what caller expected * @param currentChar what caller found */ protected void reportCharacterExpectedError( char expectedChar, int currentChar ){ reportError("character.expected", new Object[] { new Character( expectedChar ), new Integer( currentChar ) }); }