-
Notifications
You must be signed in to change notification settings - Fork 156
Expand file tree
/
Copy pathMsalClientException.java
More file actions
39 lines (34 loc) · 1.35 KB
/
MsalClientException.java
File metadata and controls
39 lines (34 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.microsoft.aad.msal4j;
/**
* Exception type thrown when and error occurs that is local to the library or the device.
*/
public class MsalClientException extends MsalException {
/**
* Initializes a new instance of the exception class with a instance of Throwable
*
* @param throwable the inner exception that is the cause of the current exception
*/
public MsalClientException(final Throwable throwable) {
super(throwable);
}
/**
* Initializes a new instance of the exception class with a specified error message
*
* @param message the error message that explains the reason for the exception
*/
public MsalClientException(final String message, final String errorCode) {
super(message, errorCode);
}
/**
* Initializes a new instance of the exception class with a specified error message and correlation ID
*
* @param message the error message that explains the reason for the exception
* @param errorCode the error code
* @param correlationId the correlation ID for request tracking
*/
public MsalClientException(final String message, final String errorCode, final String correlationId) {
super(message, errorCode, correlationId);
}
}