aboutsummaryrefslogtreecommitdiff
path: root/src/share/classes/sun/security/smartcardio/CardImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/classes/sun/security/smartcardio/CardImpl.java')
-rw-r--r--src/share/classes/sun/security/smartcardio/CardImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/share/classes/sun/security/smartcardio/CardImpl.java b/src/share/classes/sun/security/smartcardio/CardImpl.java
index e865ff8f9..c72103b70 100644
--- a/src/share/classes/sun/security/smartcardio/CardImpl.java
+++ b/src/share/classes/sun/security/smartcardio/CardImpl.java
@@ -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.
*
* 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);
} catch (PCSCException e) {
handleError(e);
- throw new CardException("beginExclusive() failed", e);
+ throw new CardException("endExclusive() failed", e);
} finally {
exclusiveThread = null;
}