Class HTTPException
java.lang.Object
id.passageidentity.passage4j.core.http.exception.HTTPException
Represents an HTTP exception with an error text.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the error text associated with the HTTP exception.voidsetErrorText(String errorText) Sets the error text for the HTTP exception.
-
Constructor Details
-
HTTPException
public HTTPException()
-
-
Method Details
-
getErrorText
Returns the error text associated with the HTTP exception.- Returns:
- The error text.
-
setErrorText
Sets the error text for the HTTP exception.- Parameters:
errorText- The error text to set.
-