aboutsummaryrefslogtreecommitdiff
path: root/src/share/classes/java/sql/SQLInvalidAuthorizationSpecException.java
diff options
context:
space:
mode:
authorlancea <none@none>2010-09-04 12:21:56 -0400
committerlancea <none@none>2010-09-04 12:21:56 -0400
commited6ee957902bdaa3c93681100247f125b2cb9596 (patch)
treea8a0fa361a1f44b28663643fb43b8bd86344dce7 /src/share/classes/java/sql/SQLInvalidAuthorizationSpecException.java
parent03547b3306593adbb29aad6604db3a2189c528aa (diff)
downloadjdk8u_jdk-ed6ee957902bdaa3c93681100247f125b2cb9596.tar.gz
6861385: Updated SQLException subclasses to clarify that they may be thrown for vendor specific conditions
Reviewed-by: alanb
Diffstat (limited to 'src/share/classes/java/sql/SQLInvalidAuthorizationSpecException.java')
-rw-r--r--src/share/classes/java/sql/SQLInvalidAuthorizationSpecException.java12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/share/classes/java/sql/SQLInvalidAuthorizationSpecException.java b/src/share/classes/java/sql/SQLInvalidAuthorizationSpecException.java
index 34ccfe1330..c1a029be87 100644
--- a/src/share/classes/java/sql/SQLInvalidAuthorizationSpecException.java
+++ b/src/share/classes/java/sql/SQLInvalidAuthorizationSpecException.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2006, 2010, Oracle and/or its affiliates. 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
@@ -26,9 +26,13 @@
package java.sql;
/**
- * The subclass of {@link SQLException} thrown when the SQLState class value is '<i>28</i>'. This indicated that the
- * authorization credentials presented during connection establishment are not valid.
- *
+ * The subclass of {@link SQLException} thrown when the SQLState class value
+ * is '<i>28</i>', or under vendor-specified conditions. This indicates that
+ * the authorization credentials presented during connection establishment
+ * are not valid.
+ * <p>
+ * Please consult your driver vendor documentation for the vendor-specified
+ * conditions for which this <code>Exception</code> may be thrown.
* @since 1.6
*/
public class SQLInvalidAuthorizationSpecException extends SQLNonTransientException {