资源简介
在jdbc连接数据库中,可能用到更多的mysql驱动,此文件可以实现在更老的机器上运行Java代码,连接数据库,免去了下载的麻烦
代码片段和文件信息
/*
Copyright (C) 2002-2004 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
There are special exceptions to the terms and conditions of the GPL
as it is applied to this software. View the full text of the
exception in file EXCEPTIONS-CONNECTOR-J in the directory of this
software distribution.
This program is distributed in the hope that it will be useful
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not write to the Free Software
Foundation Inc. 59 Temple Place Suite 330 Boston MA 02111-1307 USA
*/
package com.mysql.jdbc;
/**
* Assertions for empty code paths that should never be executed.
*
* @author Mark Matthews
*
* @version $Id: AssertionFailedException.javav 1.1.2.1 2005/05/13 18:58:37
* mmatthews Exp $
*/
public class AssertionFailedException extends RuntimeException {
// ~ Constructors
// -----------------------------------------------------------
/**
* Convenience method.
*
* @param ex
* the exception that should never have been thrown.
* @throws AssertionFailedException
* for the exception ex.
*/
public static void shouldNotHappen(Exception ex)
throws AssertionFailedException {
throw new AssertionFailedException(ex);
}
// ~ Methods
// ----------------------------------------------------------------
/**
* Creates an AssertionFailedException for the given exception that should
* never have been thrown.
*
* @param ex
* the exception that should never have been thrown.
*/
public AssertionFailedException(Exception ex) {
super(Messages.getString(“AssertionFailedException.0“) + ex.toString() //$NON-NLS-1$
+ Messages.getString(“AssertionFailedException.1“)); //$NON-NLS-1$
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\debug\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\docs\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\src\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\src\com\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\src\com\mysql\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\src\com\mysql\jdbc\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\src\com\mysql\jdbc\configs\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\src\com\mysql\jdbc\exceptions\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\src\com\mysql\jdbc\integration\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\src\com\mysql\jdbc\integration\c3p0\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\src\com\mysql\jdbc\integration\jboss\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\src\com\mysql\jdbc\jdbc2\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\src\com\mysql\jdbc\jdbc2\optional\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\src\com\mysql\jdbc\log\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\src\com\mysql\jdbc\profiler\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\src\com\mysql\jdbc\trace\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\src\com\mysql\jdbc\util\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\src\com\mysql\jdbc\webapp\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\src\doc\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\src\doc\sources\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\src\lib\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\src\org\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\src\org\gjt\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\src\org\gjt\mm\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\src\org\gjt\mm\mysql\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\src\testsuite\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\src\testsuite\perf\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\src\testsuite\regression\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\src\testsuite\simple\
目录 0 2007-10-04 23:11 mysql-connector-java-5.0.8\src\testsuite\ssl-test-certs\
............此处省略198个文件信息
- 上一篇:音乐网站java web
- 下一篇:gdal for android 开发包
相关资源
- java中mysql和oracle数据库通用分页功能
- jsp+mysql+mvc在线点餐系统
- MySQL java JDBC驱动5.1.25
- 基于java的简单BBS论坛
- JavaWeb网上订餐系统项目
- java+mysql做的学生成绩管理系统
- 一个很好的论坛系统jsp+mysql
- JSP+MYSQL+Tomcat网上书店完整源码
- java+mysql超市管理系统
- 基于JSP和mysql的火车票售票系统
- 基于Java、mysql的OA办公系统课设或者毕
- javaee mysql 的blog源码,带数据库和源代
- 完美实现图书管理系统,java语言+my
- JSP+MYSQL的BBS
- mysql-connector-java-5.1.38.tar.gz
-
msba
se.jarmssqlserver.jarmsutil.jarmysql-co - 基于java的BBS论坛系统源码+数据库文件
- JSP+MySQL 在线考试系统源码
- JSP+MYSQL小说网站(毕业设计)
- java图书馆管理系统连接mysql
- Android开源无线点菜系统 含源码Mysql数
- 基于JSP和MySQL的通讯录管理系统
- 心理测评系统jsp+mysql有论文的
- 基于JAVAWEB的图书借阅系统
- java+ mysql仓库管理系统
- android 通过WampServer集成环境通过php+
- java课程设计:日历记事本。
- 人事管理系统毕设JSP+Mysql
- jsp实现数据库连接登陆测试
- 简单的java网吧管理系统
评论
共有 条评论