Package com.hw.langchain.exception
Class LangChainException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.hw.langchain.exception.LangChainException
- All Implemented Interfaces:
Serializable
LangChainException
- Author:
- HamaWhite
- See Also:
-
Constructor Summary
ConstructorDescriptionLangChainException
(String message) Creates a new Exception with the given message and null as the cause.LangChainException
(String message, Object... args) Creates a new LangChainException with the given formatted message and arguments.LangChainException
(String message, Throwable cause) Creates a new exception with the given message and cause.LangChainException
(Throwable cause) Creates a new exception with a null message and the given cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LangChainException
Creates a new Exception with the given message and null as the cause.- Parameters:
message
- The exception message
-
LangChainException
Creates a new LangChainException with the given formatted message and arguments.- Parameters:
message
- The exception message format stringargs
- Arguments to format the message
-
LangChainException
Creates a new exception with a null message and the given cause.- Parameters:
cause
- The exception that caused this exception
-
LangChainException
Creates a new exception with the given message and cause.- Parameters:
message
- The exception messagecause
- The exception that caused this exception
-