Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 1.1 Source Code Directory
JDK 1.1 source code directory contains Java source code for JDK 1.1 core classes: "C:\fyicenter\jdk-1.1.8\src".
Here is the list of Java classes of the JDK 1.1 source code:
✍: FYIcenter
⏎ java/sql/SQLException.java
/* * @(#)SQLException.java 1.7 01/12/10 * * Copyright 2002 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package java.sql; /** * <P>The SQLException class provides information on a database access * error. * * <P>Each SQLException provides several kinds of information: * <UL> * <LI> a string describing the error. This is used as the Java Exception * message, and is available via the getMesage() method * <LI> A "SQLstate" string which follows the XOPEN SQLstate conventions. * The values of the SQLState string as described in the XOPEN SQL spec. * <LI> An integer error code that is vendor specific. Normally this will * be the actual error code returned by the underlying database. * <LI> A chain to a next Exception. This can be used to provided additional * error information. * </UL> */ public class SQLException extends java.lang.Exception { /** * Construct a fully-specified SQLException * * @param reason a description of the exception * @param SQLState an XOPEN code identifying the exception * @param vendorCode a database vendor specific exception code */ public SQLException(String reason, String SQLState, int vendorCode) { super(reason); this.SQLState = SQLState; this.vendorCode = vendorCode; if (!(this instanceof SQLWarning)) { if (DriverManager.getLogStream() != null) { DriverManager.println("SQLException: SQLState(" + SQLState + ") vendor code(" + vendorCode + ")"); printStackTrace(DriverManager.getLogStream()); } } } /** * Construct an SQLException with a reason and SQLState; * vendorCode defaults to 0. * * @param reason a description of the exception * @param SQLState an XOPEN code identifying the exception */ public SQLException(String reason, String SQLState) { super(reason); this.SQLState = SQLState; this.vendorCode = 0; if (!(this instanceof SQLWarning)) { if (DriverManager.getLogStream() != null) { printStackTrace(DriverManager.getLogStream()); DriverManager.println("SQLException: SQLState(" + SQLState + ")"); } } } /** * Construct an SQLException with a reason; SQLState defaults to * null and vendorCode defaults to 0. * * @param reason a description of the exception */ public SQLException(String reason) { super(reason); this.SQLState = null; this.vendorCode = 0; if (!(this instanceof SQLWarning)) { if (DriverManager.getLogStream() != null) { printStackTrace(DriverManager.getLogStream()); } } } /** * Construct an SQLException; reason defaults to null, SQLState * defaults to null and vendorCode defaults to 0. * */ public SQLException() { super(); this.SQLState = null; this.vendorCode = 0; if (!(this instanceof SQLWarning)) { if (DriverManager.getLogStream() != null) { printStackTrace(DriverManager.getLogStream()); } } } /** * Get the SQLState * * @return the SQLState value */ public String getSQLState() { return (SQLState); } /** * Get the vendor specific exception code * * @return the vendor's error code */ public int getErrorCode() { return (vendorCode); } /** * Get the exception chained to this one. * * @return the next SQLException in the chain, null if none */ public SQLException getNextException() { return (next); } /** * Add an SQLException to the end of the chain. * * @param ex the new end of the SQLException chain */ public synchronized void setNextException(SQLException ex) { SQLException theEnd = this; while (theEnd.next != null) { theEnd = theEnd.next; } theEnd.next = ex; } private String SQLState; private int vendorCode; private SQLException next; }
⏎ java/sql/SQLException.java
Or download all of them as a single archive file:
File name: jdk-1.1.8-src.zip File size: 1574187 bytes Release date: 2018-11-16 Download
⇒ Backup JDK 1.1 Installation Directory
2018-11-17, 150488👍, 0💬
Popular Posts:
JDK 17 jdk.localedata.jmod is the JMOD file for JDK 17 Localedata module. JDK 17 Locale Data module ...
JDK 11 jdk.scripting.nashorn.jm odis the JMOD file for JDK 11 Scripting Nashorn module. JDK 11 Scrip...
What Is poi-5.2.3.jar? poi-5.2.3.jar is one of the JAR files for Apache POI 5.2.3, which provides an...
The JMX technology provides the tools for building distributed, Web-based, modular and dynamic solut...
ANTLR is a powerful parser generator for multiple programming languages including Java. ANTLR contai...