6945604: wrong error message in CardImpl.java

Reviewed-by: mullan
This commit is contained in:
Bradford Wetmore 2010-04-20 14:24:06 -07:00
parent 5d137e0d2f
commit 09ae7d4842

View file

@ -1,5 +1,5 @@
/* /*
* Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved. * Copyright 2005-2010 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -214,7 +214,7 @@ final class CardImpl extends Card {
SCardEndTransaction(cardId, SCARD_LEAVE_CARD); SCardEndTransaction(cardId, SCARD_LEAVE_CARD);
} catch (PCSCException e) { } catch (PCSCException e) {
handleError(e); handleError(e);
throw new CardException("beginExclusive() failed", e); throw new CardException("endExclusive() failed", e);
} finally { } finally {
exclusiveThread = null; exclusiveThread = null;
} }