API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.sql. SQLClientInfoException View Source
Author(s)
Since
1.6
Version
Serial
Hierarchy
 Object
      Throwable
          Exception
              SQLException
                  SQLClientInfoException
Implements
Subclasses
Description
public exception SQLClientInfoException
  The subclass of SQLException is thrown when one or more client info properties could not be set on a Connection.
Constructors
public SQLClientInfoException ()
  Constructs a SQLClientInfoException Object.
public SQLClientInfoException (Map<String, ClientInfoStatus> failedProperties)
  Constructs a SQLClientInfoException object initialized with a given failedProperties.
public SQLClientInfoException (Map<String, ClientInfoStatus> failedProperties, Throwable cause)
  Constructs a SQLClientInfoException object initialized with a given cause and failedProperties.
public SQLClientInfoException (String reason, Map<String, ClientInfoStatus> failedProperties)
  Constructs a SQLClientInfoException object initialized with a given reason and failedProperties.
public SQLClientInfoException (String reason, Map<String, ClientInfoStatus> failedProperties, Throwable cause)
  Constructs a SQLClientInfoException object initialized with a given reason, cause and failedProperties.
public SQLClientInfoException (String reason, String SQLState, int vendorCode, Map<String, ClientInfoStatus> failedProperties)
  Constructs a SQLClientInfoException object initialized with a given reason, SQLState, vendorCode and failedProperties.
public SQLClientInfoException (String reason, String SQLState, int vendorCode, Map<String, ClientInfoStatus> failedProperties, Throwable cause)
  Constructs a SQLClientInfoException object initialized with a given reason, SQLState, cause, vendorCode and failedProperties.
public SQLClientInfoException (String reason, String SQLState, Map<String, ClientInfoStatus> failedProperties)
  Constructs a SQLClientInfoException object initialized with a given reason, SQLState and failedProperties.
public SQLClientInfoException (String reason, String SQLState, Map<String, ClientInfoStatus> failedProperties, Throwable cause)
  Constructs a SQLClientInfoException object initialized with a given reason, SQLState, cause and failedProperties.
Methods
Hide/Show inherited methods
publicsynchronizednative Throwable fillInStackTrace () [Inherited From Throwable]
  Fills in the execution stack trace.
public Throwable getCause () [Inherited From Throwable]
  Returns the cause of this throwable or null if the cause is nonexistent or unknown.
public int getErrorCode () [Inherited From SQLException]
  Retrieves the vendor-specific exception code for this SQLException object.
public Map<String, ClientInfoStatus> getFailedProperties ()
  Returns the list of client info properties that could not be set.
public String getLocalizedMessage () [Inherited From Throwable]
  Creates a localized description of this throwable.
public String getMessage () [Inherited From Throwable]
  Returns the detail message string of this throwable.
public SQLException getNextException () [Inherited From SQLException]
  Retrieves the exception chained to this SQLException object by setNextException(SQLException ex).
public String getSQLState () [Inherited From SQLException]
  Retrieves the SQLState for this SQLException object.
public StackTraceElement getStackTrace () [Inherited From Throwable]
  Provides programmatic access to the stack trace information printed by Throwable.printStackTrace().
publicsynchronized Throwable initCause (Throwable cause) [Inherited From Throwable]
  Initializes the cause of this throwable to the specified value.
public Iterator<Throwable> iterator () [Inherited From SQLException]
  Returns an iterator over the chained SQLExceptions.
public void printStackTrace () [Inherited From Throwable]
  Prints this throwable and its backtrace to the standard error stream.
public void printStackTrace (PrintStream s) [Inherited From Throwable]
  Prints this throwable and its backtrace to the specified print stream.
public void printStackTrace (PrintWriter s) [Inherited From Throwable]
  Prints this throwable and its backtrace to the specified print writer.
public void setNextException (SQLException ex) [Inherited From SQLException]
  Adds an SQLException object to the end of the chain.
public void setStackTrace (StackTraceElement stackTrace) [Inherited From Throwable]
  Sets the stack trace elements that will be returned by Throwable.getStackTrace() and printed by Throwable.printStackTrace() and related methods.
public String toString () [Inherited From Throwable]
  Returns a short description of this throwable.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar