MsalException Klasse
- java.
lang. Object - java.
lang. Throwable - java.
lang. Exception - java.
lang. RuntimeException - com.
microsoft. aad. msal4j. MsalException
- com.
- java.
- java.
- java.
public class MsalException
extends java.lang.RuntimeException
Der Basis exception type thrown when an error occurs during token acquisition.
Zusammenfassung zum Konstruktor
| Konstruktor | Beschreibung |
|---|---|
| MsalException(String message, String errorCode) |
Initialisiert eine neue Instanz der Ausnahmeklasse. |
| MsalException(Throwable throwable) |
Initialisiert eine neue Instanz der Ausnahmeklasse. |
Methodenzusammenfassung
| Modifizierer und Typ | Methode und Beschreibung |
|---|---|
| java.lang.String |
errorCode()
Authentifizierungsfehlercode |
Geerbte Methoden von java.lang.Object
Geerbte Methoden von java.lang.Throwable
Details zum Konstruktor
MsalException
public MsalException(String message, String errorCode)
Initialisiert eine neue Instanz der Ausnahmeklasse.
Parameter:
MsalException
public MsalException(Throwable throwable)
Initialisiert eine neue Instanz der Ausnahmeklasse.
Parameter:
Details zur Methode
errorCode
public String errorCode()
Authentifizierungsfehlercode