Package dev.langchain4j.internal
Class ExceptionMapper.DefaultExceptionMapper
java.lang.Object
dev.langchain4j.internal.ExceptionMapper.DefaultExceptionMapper
- All Implemented Interfaces:
ExceptionMapper
- Enclosing interface:
ExceptionMapper
public static class ExceptionMapper.DefaultExceptionMapper
extends Object
implements ExceptionMapper
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.langchain4j.internal.ExceptionMapper
ExceptionMapper.DefaultExceptionMapper
-
Field Summary
Fields inherited from interface dev.langchain4j.internal.ExceptionMapper
DEFAULT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RuntimeException
mapHttpStatusCode
(Exception rootException, int httpStatusCode) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.langchain4j.internal.ExceptionMapper
withExceptionMapper
-
Constructor Details
-
DefaultExceptionMapper
public DefaultExceptionMapper()
-
-
Method Details
-
mapException
- Specified by:
mapException
in interfaceExceptionMapper
-
mapHttpStatusCode
-