MsalException Klasa

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

public class MsalException
extends java.lang.RuntimeException

Typ wyjątku podstawowego zgłaszany, gdy wystąpi błąd podczas pozyskiwania tokenu.

Podsumowanie konstruktora

Konstruktor Opis
MsalException(String message, String errorCode)

Inicjuje nowe wystąpienie klasy wyjątku

MsalException(Throwable throwable)

Inicjuje nowe wystąpienie klasy wyjątku

Podsumowanie metody

Modyfikator i typ Metoda i opis
java.lang.String errorCode()

Kod błędu uwierzytelniania

Metody dziedziczone z 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

Metody dziedziczone z 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

Szczegóły konstruktora

MsalException

public MsalException(String message, String errorCode)

Inicjuje nowe wystąpienie klasy wyjątku

Parametry:

message - komunikat o błędzie, który wyjaśnia przyczynę wyjątku
errorCode

MsalException

public MsalException(Throwable throwable)

Inicjuje nowe wystąpienie klasy wyjątku

Parametry:

throwable - wyjątek wewnętrzny, który jest przyczyną bieżącego wyjątku

Szczegóły metody

errorCode

public String errorCode()

Kod błędu uwierzytelniania

Dotyczy