Class ExceptionWrappingConverter
-
- All Implemented Interfaces:
-
org.springframework.ai.converter.FormatProvider,org.springframework.ai.converter.StructuredOutputConverter,org.springframework.core.convert.converter.Converter
public final class ExceptionWrappingConverter<T extends Object> implements StructuredOutputConverter<T>
Wrap in our exception handling to capture return string
-
-
Constructor Summary
Constructors Constructor Description ExceptionWrappingConverter(Class<T> expectedType, StructuredOutputConverter<T> delegate)
-