Mark overriding "extraInformation" methods in account status exceptions as deprecated.

This commit is contained in:
Luke Taylor 2011-10-30 21:47:04 +00:00
parent c0c283029a
commit bce4d81142
4 changed files with 4 additions and 0 deletions

View File

@ -45,6 +45,7 @@ public class AccountExpiredException extends AccountStatusException {
super(msg, t);
}
@Deprecated
public AccountExpiredException(String msg, Object extraInformation) {
super(msg, extraInformation);
}

View File

@ -45,6 +45,7 @@ public class CredentialsExpiredException extends AccountStatusException {
super(msg, t);
}
@Deprecated
public CredentialsExpiredException(String msg, Object extraInformation) {
super(msg, extraInformation);
}

View File

@ -44,6 +44,7 @@ public class DisabledException extends AccountStatusException {
super(msg, t);
}
@Deprecated
public DisabledException(String msg, Object extraInformation) {
super(msg, extraInformation);
}

View File

@ -45,6 +45,7 @@ public class LockedException extends AccountStatusException {
super(msg, t);
}
@Deprecated
public LockedException(String msg, Object extraInformation) {
super(msg, extraInformation);
}