MsalException Klasse

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • java.lang.RuntimeException
          • com.microsoft.aad.msal4j.MsalException

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

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Geerbte Methoden von java.lang.Throwable

java.lang.Throwable.addSuppressed java.lang.Throwable.fillInStackTrace java.lang.Throwable.getCause java.lang.Throwable.getLocalizedMessage java.lang.Throwable.getMessage java.lang.Throwable.getStackTrace java.lang.Throwable.getSuppressed java.lang.Throwable.initCause java.lang.Throwable.printStackTrace java.lang.Throwable.printStackTrace java.lang.Throwable.printStackTrace java.lang.Throwable.setStackTrace java.lang.Throwable.toString

Details zum Konstruktor

MsalException

public MsalException(String message, String errorCode)

Initialisiert eine neue Instanz der Ausnahmeklasse.

Parameter:

message - die Fehlermeldung, die den Grund für die Ausnahme erklärt
errorCode

MsalException

public MsalException(Throwable throwable)

Initialisiert eine neue Instanz der Ausnahmeklasse.

Parameter:

throwable - die innere Ausnahme, die die Ursache der aktuellen Ausnahme ist

Details zur Methode

errorCode

public String errorCode()

Authentifizierungsfehlercode

Gilt für: