Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
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 (322)
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/SQLWarning.java
/*
* @(#)SQLWarning.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 SQLWarning class provides information on a database access
* warnings. Warnings are silently chained to the object whose method
* caused it to be reported.
*
* @see Connection#getWarnings
* @see Statement#getWarnings
* @see ResultSet#getWarnings
*/
public class SQLWarning extends SQLException {
/**
* Construct a fully specified SQLWarning.
*
* @param reason a description of the warning
* @param SQLState an XOPEN code identifying the warning
* @param vendorCode a database vendor specific warning code
*/
public SQLWarning(String reason, String SQLstate, int vendorCode) {
super(reason, SQLstate, vendorCode);
DriverManager.println("SQLWarning: reason(" + reason +
") SQLstate(" + SQLstate +
") vendor code(" + vendorCode + ")");
}
/**
* Construct an SQLWarning with a reason and SQLState;
* vendorCode defaults to 0.
*
* @param reason a description of the warning
* @param SQLState an XOPEN code identifying the warning
*/
public SQLWarning(String reason, String SQLstate) {
super(reason, SQLstate);
DriverManager.println("SQLWarning: reason(" + reason +
") SQLState(" + SQLstate + ")");
}
/**
* Construct an SQLWarning with a reason; SQLState defaults to
* null and vendorCode defaults to 0.
*
* @param reason a description of the warning
*/
public SQLWarning(String reason) {
super(reason);
DriverManager.println("SQLWarning: reason(" + reason + ")");
}
/**
* Construct an SQLWarning ; reason defaults to null, SQLState
* defaults to null and vendorCode defaults to 0.
*
*/
public SQLWarning() {
super();
DriverManager.println("SQLWarning: ");
}
/**
* Get the warning chained to this one
*
* @return the next SQLException in the chain, null if none
*/
public SQLWarning getNextWarning() {
try {
return ((SQLWarning)getNextException());
} catch (ClassCastException ex) {
// The chained value isn't a SQLWarning.
// This is a programming error by whoever added it to
// the SQLWarning chain. We throw a Java "Error".
throw new Error("SQLWarning chain holds value that is not a SQLWarning");
}
}
/**
* Add an SQLWarning to the end of the chain.
*
* @param w the new end of the SQLException chain
*/
public void setNextWarning(SQLWarning w) {
setNextException(w);
}
}
⏎ java/sql/SQLWarning.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, ≈346🔥, 0💬
Popular Posts:
Where to get the Java source code for Connector/J 8.0 Core Impl module? Java source code files for C...
HttpComponents Client Source Code Files are provided in the source package file, httpcomponents-clie...
JDK 17 jdk.hotspot.agent.jmod is the JMOD file for JDK 17 Hotspot Agent module. JDK 17 Hotspot Agent...
Java Cryptography Extension 1.6 JAR File Size and Download Location: File name: jce.jar, jce-1.6.jar...
Where to get the Java source code for Connector/J 8.0 Core API module? Java source code files for Co...