code: public final void setErrorMessage(@NonNull final Context context,
                                        @StringRes final int resourceId) {
          Condition.INSTANCE.ensureNotNull(context, "The context may not be null");
          this.errorMessage = context.getText(resourceId);
      }
docs: Sets the error message, which should be shown, if the validation fails.
  
  @param context
  The context, which should be used to retrieve the error message, as an instance of
  the class {@link Context}. The context may not be null
  @param resourceId
  The resource ID of the string resource, which contains the error message, which
  should be set, as an {@link Integer} value. The resource ID must correspond to a
  valid string resource