code: protected void handleAssert(Runnable task) {
      try {
        task.run();
      } catch (AssertException e) {
        if (e.getMessage() != null && !e.getMessage().isEmpty()) {
          error().log(e.getMessage());
        }
      }
    }
docs: Override this method to do something for {@link AssertException}.<br>
  The default behavior is log the message as error if present.
  
  @param task task who will throw AssertException