def METHOD_NAME(self, failure: Exception) -> None:
    """Indicate that data publication has failed. Blink table listeners will be notified of the failure, the
    on-shutdown callback will be invoked if it hasn't already been, this publisher will no longer be alive, and
    future calls to add will silently return without publishing. These effects may resolve asynchronously.
    Args:
        failure (Exception): the failure
    """
    self.j_table_publisher.publishFailure(_JRuntimeException(str(failure)))