Class ExceptionSummaryService
- java.lang.Object
-
- com.netflix.spinnaker.kork.web.exceptions.ExceptionSummaryService
-
public class ExceptionSummaryService extends java.lang.ObjectBuilds anExceptionSummaryobject 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 Summary
Constructors Constructor Description ExceptionSummaryService(ExceptionMessageDecorator exceptionMessageDecorator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.netflix.spinnaker.kork.api.exceptions.ExceptionSummarysummary(java.lang.Throwable throwable)com.netflix.spinnaker.kork.api.exceptions.ExceptionSummarysummary(java.lang.Throwable throwable, com.netflix.spinnaker.kork.api.exceptions.ExceptionDetails exceptionDetails)Provides theExceptionSummarygiven the thrown exception.
-
-
-
Constructor Detail
-
ExceptionSummaryService
public ExceptionSummaryService(ExceptionMessageDecorator exceptionMessageDecorator)
-
-
Method Detail
-
summary
public com.netflix.spinnaker.kork.api.exceptions.ExceptionSummary summary(java.lang.Throwable throwable, @Nullable com.netflix.spinnaker.kork.api.exceptions.ExceptionDetails exceptionDetails)Provides theExceptionSummarygiven the thrown exception.- Parameters:
throwable-Throwable- Returns:
ExceptionSummary
-
summary
public com.netflix.spinnaker.kork.api.exceptions.ExceptionSummary summary(java.lang.Throwable throwable)
-
-