fix a build error in JDK 1.2.

This commit is contained in:
nicolson%netscape.com 2002-06-21 18:31:36 +00:00
parent e1ed4e08e3
commit fe199405d1

View File

@ -54,11 +54,11 @@ public class FilePasswordCallback implements PasswordCallback {
/**
*/
public Password getPasswordFirstAttempt(PasswordCallbackInfo info)
throws GiveUpException
throws PasswordCallback.GiveUpException
{
String pw = passwords.getProperty(info.getName());
if( pw == null ) {
throw new GiveUpException();
throw new PasswordCallback.GiveUpException();
} else {
System.out.println("***FilePasswordCallback returns " + pw);
return new Password(pw.toCharArray());
@ -68,8 +68,8 @@ public class FilePasswordCallback implements PasswordCallback {
/**
*/
public Password getPasswordAgain(PasswordCallbackInfo info)
throws GiveUpException
throws PasswordCallback.GiveUpException
{
throw new GiveUpException();
throw new PasswordCallback.GiveUpException();
}
}