code: public static void checkNotNull(String objectName, Object object) throws NlsNullPointerException {
  
      if (object == null) {
        throw new NlsNullPointerException(objectName);
      }
    }
docs: This method checks if the given {@code object} is {@code null}. <br>
  Look at the following example:
  
  <pre>
  {@link NlsNullPointerException}.checkNotNull("someParameter", someParameter);
  </pre>
  
  This is equivalent to this code:
  
  <pre>
  if (someParameter == null) {
  throw new {@link NlsNullPointerException}("someParameter");
  }
  </pre>
  
  
  @param objectName is the (argument-)name of the given {@code object}.
  @param object is the object that is checked and should NOT be {@code null}.
  @throws NlsNullPointerException if the given {@code object} is {@code null}.
  @since 2.0.0