mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
removed error message
This commit is contained in:
parent
c49dc435e1
commit
b57db836d3
@ -25,29 +25,16 @@ public class OAuthTokenValidationException extends Exception {
|
|||||||
|
|
||||||
private static final long serialVersionUID = -3151279311929070297L;
|
private static final long serialVersionUID = -3151279311929070297L;
|
||||||
|
|
||||||
private String errorMessage;
|
|
||||||
|
|
||||||
public String getErrorMessage() {
|
|
||||||
return errorMessage;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setErrorMessage(String errorMessage) {
|
|
||||||
this.errorMessage = errorMessage;
|
|
||||||
}
|
|
||||||
|
|
||||||
public OAuthTokenValidationException(String msg, Exception nestedEx) {
|
public OAuthTokenValidationException(String msg, Exception nestedEx) {
|
||||||
super(msg, nestedEx);
|
super(msg, nestedEx);
|
||||||
setErrorMessage(msg);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public OAuthTokenValidationException(String message, Throwable cause) {
|
public OAuthTokenValidationException(String message, Throwable cause) {
|
||||||
super(message, cause);
|
super(message, cause);
|
||||||
setErrorMessage(message);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public OAuthTokenValidationException(String msg) {
|
public OAuthTokenValidationException(String msg) {
|
||||||
super(msg);
|
super(msg);
|
||||||
setErrorMessage(msg);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public OAuthTokenValidationException() {
|
public OAuthTokenValidationException() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user