Package io.hanko.sdk.exception
Class HankoNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.hanko.sdk.exception.HankoException
io.hanko.sdk.exception.HankoApiException
io.hanko.sdk.exception.HankoNotFoundException
- All Implemented Interfaces:
Serializable
Exception occurring if requested resources are not found by the Hanko API (i.e. if it
response with a 404 status code).
- See Also:
- Serialized Form
-
Constructor Summary
ConstructorsConstructorDescriptionHankoNotFoundException(String message)
Construct a new HankoNotFoundException with the specified detail message.HankoNotFoundException(String message, Integer status, String requestPath, String content)
Construct a new HankoNotFoundException with the specified detail message, the Hanko API response status, the original request path and the Hanko API response content. -
Method Summary
Methods inherited from class io.hanko.sdk.exception.HankoApiException
getContent, getRequestPath, getStatus
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HankoNotFoundException
Construct a new HankoNotFoundException with the specified detail message.- Parameters:
message
- the detail message
-
HankoNotFoundException
Construct a new HankoNotFoundException with the specified detail message, the Hanko API response status, the original request path and the Hanko API response content.- Parameters:
message
- the detail messagestatus
- the Hanko API HTTP response statusrequestPath
- the original request pathcontent
- the Hanko API response content
-