Package dev.langchain4j.exception
Class HttpException
-
- All Implemented Interfaces:
-
java.io.Serializable
public class HttpException extends RuntimeException
-
-
Field Summary
Fields Modifier and Type Field Description public Throwable
cause
public Array<StackTraceElement>
stackTrace
-
Constructor Summary
Constructors Constructor Description HttpException(int statusCode, String message)
-
Method Summary
Modifier and Type Method Description int
statusCode()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
HttpException
HttpException(int statusCode, String message)
-
-
Method Detail
-
statusCode
int statusCode()
-
-
-
-