Package ai.chalk.exceptions
Class ServerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
ai.chalk.exceptions.ChalkException
ai.chalk.exceptions.ServerException
- All Implemented Interfaces:
Serializable
Exception thrown when the server errors out from a cause
that is not directly related to the Chalk query itself.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionintint -
Constructor Summary
ConstructorsConstructorDescriptionServerException(int statusCode, int contentLength, String URL) ServerException(ChalkHttpException e, int statusCode, int contentLength, String URL) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
detail
-
trace
-
errors
-
statusCode
public int statusCode -
contentLength
public int contentLength -
URL
-
-
Constructor Details
-
ServerException
-
ServerException
-
-
Method Details
-
getDetail
-
getTrace
-
getErrors
-
getStatusCode
public int getStatusCode() -
getContentLength
public int getContentLength() -
getURL
-