Class ExceptionSummaryService

java.lang.Object
com.netflix.spinnaker.kork.web.exceptions.ExceptionSummaryService

public class ExceptionSummaryService extends Object
Builds an ExceptionSummary object from a given Exception. This object is meant to help provide context to end-users to help resolve issues, while still offering enough detail for operators and developers to trace internal bugs.
  • Constructor Details

  • Method Details

    • summary

      public com.netflix.spinnaker.kork.api.exceptions.ExceptionSummary summary(Throwable throwable, @Nullable com.netflix.spinnaker.kork.api.exceptions.ExceptionDetails exceptionDetails)
      Provides the ExceptionSummary given the thrown exception.
      Parameters:
      throwable - Throwable
      Returns:
      ExceptionSummary
    • summary

      public com.netflix.spinnaker.kork.api.exceptions.ExceptionSummary summary(Throwable throwable)