Class BaseExceptional

java.lang.Object
org.elasticsearch.hadoop.handler.impl.BaseExceptional
All Implemented Interfaces:
Exceptional

public abstract class BaseExceptional extends Object implements Exceptional
Provides a basic implementation of an exceptional event to be passed between error handlers.
  • Constructor Details

  • Method Details

    • getException

      public Exception getException()
      Specified by:
      getException in interface Exceptional
      Returns:
      the internal exception information.
    • previousHandlerMessages

      public List<String> previousHandlerMessages()
      Specified by:
      previousHandlerMessages in interface Exceptional
      Returns:
      any logged messages from handlers earlier in the error handler chain for why they chose to pass on handling the error.