mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
6945604: wrong error message in CardImpl.java
Reviewed-by: mullan
This commit is contained in:
parent
5d137e0d2f
commit
09ae7d4842
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue