Class LogErrorContextMissingStrategy

java.lang.Object
com.amazonaws.xray.strategy.LogErrorContextMissingStrategy
All Implemented Interfaces:
ContextMissingStrategy

public class LogErrorContextMissingStrategy
extends java.lang.Object
implements ContextMissingStrategy
  • Field Details

  • Constructor Details

    • LogErrorContextMissingStrategy

      public LogErrorContextMissingStrategy()
  • Method Details

    • contextMissing

      public void contextMissing​(java.lang.String message, java.lang.Class<? extends java.lang.RuntimeException> exceptionClass)
      Logs message on the error level, and a stacktrace at debug level.
      Specified by:
      contextMissing in interface ContextMissingStrategy
      Parameters:
      message - the message to log
      exceptionClass - the type of exception suppressed in favor of logging message