-
- All Implemented Interfaces:
-
java.io.Serializable
public final class DaakiaBackendException extends Exception
Thrown when a Daakia backend request fails.
Raised both for HTTP-level failures (non-2xx responses) and for backend-level failures, where the response is 2xx but its body reports
success != 1.
-
-
Constructor Summary
Constructors Constructor Description DaakiaBackendException(String message, Integer statusCode)
-
Method Summary
Modifier and Type Method Description StringgetMessage()final IntegergetStatusCode()ThrowablegetCause()StringtoString()-
Methods inherited from class java.lang.Exception
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getMessage
String getMessage()
-
getStatusCode
final Integer getStatusCode()
-
-
-
-