Mark overriding "extraInformation" methods in account status exceptions as deprecated.
This commit is contained in:
+1
@@ -45,6 +45,7 @@ public class AccountExpiredException extends AccountStatusException {
|
||||
super(msg, t);
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public AccountExpiredException(String msg, Object extraInformation) {
|
||||
super(msg, extraInformation);
|
||||
}
|
||||
|
||||
+1
@@ -45,6 +45,7 @@ public class CredentialsExpiredException extends AccountStatusException {
|
||||
super(msg, t);
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public CredentialsExpiredException(String msg, Object extraInformation) {
|
||||
super(msg, extraInformation);
|
||||
}
|
||||
|
||||
@@ -44,6 +44,7 @@ public class DisabledException extends AccountStatusException {
|
||||
super(msg, t);
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public DisabledException(String msg, Object extraInformation) {
|
||||
super(msg, extraInformation);
|
||||
}
|
||||
|
||||
@@ -45,6 +45,7 @@ public class LockedException extends AccountStatusException {
|
||||
super(msg, t);
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public LockedException(String msg, Object extraInformation) {
|
||||
super(msg, extraInformation);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user