Dela via


MsalClientException Class

public class MsalClientException
extends MsalException

Exception type thrown when and error occurs that is local to the library or the device.

Constructor Summary

Constructor Description
MsalClientException(String message, String errorCode)

Initializes a new instance of the exception class with a specified error message

MsalClientException(Throwable throwable)

Initializes a new instance of the exception class with a instance of Throwable

Methods inherited from MsalException

Methods inherited from 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

Methods inherited from 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

Constructor Details

MsalClientException

public MsalClientException(String message, String errorCode)

Initializes a new instance of the exception class with a specified error message

Parameters:

message - the error message that explains the reason for the exception
errorCode

MsalClientException

public MsalClientException(Throwable throwable)

Initializes a new instance of the exception class with a instance of Throwable

Parameters:

throwable - the inner exception that is the cause of the current exception

Applies to