Package dev.langchain4j.internal
Interface ExceptionMapper
-
- All Implemented Interfaces:
@FunctionalInterface() public interface ExceptionMapper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classExceptionMapper.DefaultExceptionMapper
-
Method Summary
Modifier and Type Method Description static <T> TmappingException(Callable<T> action)<T> TwithExceptionMapper(Callable<T> action)abstract RuntimeExceptionmapException(Exception e)-
-
Method Detail
-
mappingException
static <T> T mappingException(Callable<T> action)
-
withExceptionMapper
<T> T withExceptionMapper(Callable<T> action)
-
mapException
abstract RuntimeException mapException(Exception e)
-
-
-
-