class DefaultErrorListener implements ErrorListener {

    @NotNull
    protected String getString(@NotNull final String key) {
        if (getResourceBundle().containsKey(key)) {
            return getResourceBundle().getString(key);
        } else {
            return key;
        }
    }

}