Interface Contextual

All Known Subinterfaces:
ContextualBatch, ContextualSuspendedBatch, Transactional, TransactionalSuspendedBatch
All Known Implementing Classes:
AbstractContextualBatch, DefaultTransactionalBatch, SimpleContextualBatch

public interface Contextual
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Attach this context to the specified exception.
    Returns the name of this context.
  • Method Details

    • getName

      String getName()
      Returns the name of this context.
      Returns:
      the name of this context.
    • attach

      void attach(Throwable e)
      Attach this context to the specified exception.
      Parameters:
      e - an exception to which to attach this context.