Class ExceptionSummaryService
java.lang.Object
com.netflix.spinnaker.kork.web.exceptions.ExceptionSummaryService
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 Summary
ConstructorsConstructorDescriptionExceptionSummaryService(ExceptionMessageDecorator exceptionMessageDecorator) -
Method Summary
Modifier and TypeMethodDescriptioncom.netflix.spinnaker.kork.api.exceptions.ExceptionSummarycom.netflix.spinnaker.kork.api.exceptions.ExceptionSummarysummary(Throwable throwable, com.netflix.spinnaker.kork.api.exceptions.ExceptionDetails exceptionDetails) Provides theExceptionSummarygiven the thrown exception.
-
Constructor Details
-
ExceptionSummaryService
-
-
Method Details
-
summary
public com.netflix.spinnaker.kork.api.exceptions.ExceptionSummary summary(Throwable throwable, @Nullable com.netflix.spinnaker.kork.api.exceptions.ExceptionDetails exceptionDetails) Provides theExceptionSummarygiven the thrown exception.- Parameters:
throwable-Throwable- Returns:
ExceptionSummary
-
summary
-