资源简介
mysql-connector-java-5.1.22 包含jar,doc与src代码
代码片段和文件信息
/*
Copyright (c) 2002 2011 Oracle and/or its affiliates. All rights reserved.
The MySQL Connector/J is licensed under the terms of the GPLv2
like most MySQL Connectors.
There are special exceptions to the terms and conditions of the GPLv2 as it is applied to
this software see the FLOSS License Exception
.
This program is free software; you can redistribute it and/or modify it under the terms
of the GNU General Public License as published by the Free Software Foundation; version 2
of the License.
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. 51 Franklin St Fifth
Floor Boston MA 02110-1301 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 {
private static final long serialVersionUID = 1L;
// ~ 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$
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 45947 2012-09-06 02:21 mysql-connector-java-5.1.22\build.xm
文件 210569 2012-09-06 02:21 mysql-connector-java-5.1.22\CHANGES
文件 18122 2012-09-06 02:21 mysql-connector-java-5.1.22\COPYING
文件 841093 2012-09-06 02:21 mysql-connector-java-5.1.22\docs\connector-j.html
文件 792095 2012-09-06 02:21 mysql-connector-java-5.1.22\docs\connector-j.pdf
文件 491028 2012-09-06 02:21 mysql-connector-java-5.1.22\docs\README.txt
文件 832960 2012-09-06 02:21 mysql-connector-java-5.1.22\mysql-connector-java-5.1.22-bin.jar
文件 63924 2012-09-06 02:21 mysql-connector-java-5.1.22\README
文件 66228 2012-09-06 02:21 mysql-connector-java-5.1.22\README.txt
文件 2359 2012-09-06 02:21 mysql-connector-java-5.1.22\src\com\mysql\jdbc\AssertionFailedException.java
文件 2401 2012-09-06 02:21 mysql-connector-java-5.1.22\src\com\mysql\jdbc\authentication\MysqlClearPasswordPlugin.java
文件 3219 2012-09-06 02:21 mysql-connector-java-5.1.22\src\com\mysql\jdbc\authentication\MysqlNativePasswordPlugin.java
文件 2703 2012-09-06 02:21 mysql-connector-java-5.1.22\src\com\mysql\jdbc\authentication\MysqlOldPasswordPlugin.java
文件 2392 2012-09-06 02:21 mysql-connector-java-5.1.22\src\com\mysql\jdbc\authentication\Sha256PasswordPlugin.java
文件 4713 2012-09-06 02:21 mysql-connector-java-5.1.22\src\com\mysql\jdbc\AuthenticationPlugin.java
文件 3580 2012-09-06 02:21 mysql-connector-java-5.1.22\src\com\mysql\jdbc\BalanceStrategy.java
文件 3466 2012-09-06 02:21 mysql-connector-java-5.1.22\src\com\mysql\jdbc\BestResponseTimeBalanceStrategy.java
文件 12870 2012-09-06 02:21 mysql-connector-java-5.1.22\src\com\mysql\jdbc\Blob.java
文件 18731 2012-09-06 02:21 mysql-connector-java-5.1.22\src\com\mysql\jdbc\BlobFromLocator.java
文件 17755 2012-09-06 02:21 mysql-connector-java-5.1.22\src\com\mysql\jdbc\Buffer.java
文件 20866 2012-09-06 02:21 mysql-connector-java-5.1.22\src\com\mysql\jdbc\BufferRow.java
文件 8491 2012-09-06 02:21 mysql-connector-java-5.1.22\src\com\mysql\jdbc\ByteArrayRow.java
文件 1203 2012-09-06 02:21 mysql-connector-java-5.1.22\src\com\mysql\jdbc\CacheAdapter.java
文件 1400 2012-09-06 02:21 mysql-connector-java-5.1.22\src\com\mysql\jdbc\CacheAdapterFactory.java
文件 1923 2012-09-06 02:21 mysql-connector-java-5.1.22\src\com\mysql\jdbc\CachedResultSetme
文件 76596 2012-09-06 02:21 mysql-connector-java-5.1.22\src\com\mysql\jdbc\CallableStatement.java
文件 51766 2012-09-06 02:21 mysql-connector-java-5.1.22\src\com\mysql\jdbc\CharsetMapping.java
文件 2477 2012-09-06 02:21 mysql-connector-java-5.1.22\src\com\mysql\jdbc\Charsets.properties
文件 8542 2012-09-06 02:21 mysql-connector-java-5.1.22\src\com\mysql\jdbc\Clob.java
文件 3369 2012-09-06 02:21 mysql-connector-java-5.1.22\src\com\mysql\jdbc\CommunicationsException.java
............此处省略284个文件信息
- 上一篇:基于javaweb的日记网
- 下一篇:JSP教学培训网站设计与实现
评论
共有 条评论