Package no.ks.fiks.maskinporten.error
Class MaskinportenTokenRequestException
-
- All Implemented Interfaces:
-
java.io.Serializable
public class MaskinportenTokenRequestException extends RuntimeException
Generic exception for all non-sucessful Maskinporten token requests
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerstatusCodeprivate final StringmaskinportenErrorprivate final Throwablecauseprivate final Stringmessage
-
Constructor Summary
Constructors Constructor Description MaskinportenTokenRequestException(String message, Integer statusCode, String maskinportenError)
-
Method Summary
Modifier and Type Method Description final IntegergetStatusCode()final StringgetMaskinportenError()-
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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
-
getStatusCode
final Integer getStatusCode()
-
getMaskinportenError
final String getMaskinportenError()
-
-
-
-