code: @Override
    public void writeContent(final SimpleArticle simpleArticle) {
      if (!isLoggedIn()) {
        throw new ActionException("Please login first");
      }
  
      SimpleArticle nonNullArticle = Checked.nonNull(simpleArticle, "content");
      checkTitle(nonNullArticle.getTitle());
  
      getPerformedAction(new PostModifyContent(this, simpleArticle));
      if (nonNullArticle.getText().trim().length() < 1) {
        throw new RuntimeException("Content is empty, still written");
      }
    }
docs: {@inheritDoc}