src/main/java/xdean/annotation/processor/toolkit/XAbstractProcessor.java
protected void handleAssert(Runnable task) {
    try {
      task.run();
    } catch (AssertException e) {
      if (e.getMessage() != null && !e.getMessage().isEmpty()) {
        error().log(e.getMessage());
      }
    }
  }
protected void handleAssert(Runnable task) {
    try {
      task.run();
    } catch (AssertException e) {
      if (e.getMessage() != null && !e.getMessage().isEmpty()) {
        error().log(e.getMessage());
      }
    }
  }
protected void handleAssert ( Runnable task ) { try { task . run ( ) ; } catch ( AssertException e ) { if ( e . getMessage ( ) != null && ! e . getMessage ( ) . isEmpty ( ) ) { error ( ) . log ( e . getMessage ( ) ) ; } } }
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
Override this method to do something for { @link AssertException } . <br > The default behavior is log the message as error if present .