• 大小: 22.69MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-07-23
  • 语言: Java
  • 标签: BBS论坛  

资源简介

直接将工程导入到myeclipse工作空间,修改一下数据库连接就可以运行了,绝对可以运行。欢迎下载,原创分享。

资源截图

代码片段和文件信息

/*
 Copyright  2002-2004 MySQL AB 2008 Sun Microsystems

 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  2012-09-22 11:15  BBS\
     文件         524  2012-09-22 11:31  BBS\.classpath
     目录           0  2012-09-11 21:43  BBS\.myeclipse\
     目录           0  2012-09-11 21:43  BBS\.myeclipse\build\
     文件        7902  2012-06-15 00:02  BBS\.myeclipse\build\article.jsp
     文件        8409  2012-06-15 00:02  BBS\.myeclipse\build\articleDetail.jsp
     文件        8847  2012-06-15 00:02  BBS\.myeclipse\build\articleDetailFlat.jsp
     文件        7837  2012-06-15 00:02  BBS\.myeclipse\build\articleFlat.jsp
     文件        1196  2012-06-15 00:02  BBS\.myeclipse\build\articleSearch.jsp
     文件       16434  2012-06-15 00:02  BBS\.myeclipse\build\background.jpg
     目录           0  2012-09-11 21:44  BBS\.myeclipse\build\ckeditor\
     文件         792  2012-06-15 00:02  BBS\.myeclipse\build\ckeditor\.htaccess
     目录           0  2012-09-11 21:44  BBS\.myeclipse\build\ckeditor\adapters\
     文件        2545  2012-06-15 00:02  BBS\.myeclipse\build\ckeditor\adapters\jquery.js
     文件      166815  2012-06-15 00:02  BBS\.myeclipse\build\ckeditor\CHANGES.html
     文件       30817  2012-06-15 00:02  BBS\.myeclipse\build\ckeditor\ckeditor.asp
     文件      373426  2012-06-15 00:02  BBS\.myeclipse\build\ckeditor\ckeditor.js
     文件        7424  2012-06-15 00:02  BBS\.myeclipse\build\ckeditor\ckeditor.pack
     文件         962  2012-06-15 00:02  BBS\.myeclipse\build\ckeditor\ckeditor.php
     文件        7074  2012-06-15 00:02  BBS\.myeclipse\build\ckeditor\ckeditor_basic.js
     文件        1752  2012-06-15 00:02  BBS\.myeclipse\build\ckeditor\ckeditor_basic_source.js
     文件       15365  2012-06-15 00:02  BBS\.myeclipse\build\ckeditor\ckeditor_php4.php
     文件       15333  2012-06-15 00:02  BBS\.myeclipse\build\ckeditor\ckeditor_php5.php
     文件        2130  2012-06-15 00:02  BBS\.myeclipse\build\ckeditor\ckeditor_source.js
     文件         331  2012-06-15 00:02  BBS\.myeclipse\build\ckeditor\config.js
     文件         559  2012-06-15 00:02  BBS\.myeclipse\build\ckeditor\contents.css
     目录           0  2012-09-11 21:44  BBS\.myeclipse\build\ckeditor\images\
     文件          43  2012-06-15 00:02  BBS\.myeclipse\build\ckeditor\images\spacer.gif
     文件        2859  2012-06-15 00:02  BBS\.myeclipse\build\ckeditor\INSTALL.html
     目录           0  2012-09-11 21:44  BBS\.myeclipse\build\ckeditor\lang\
     文件       17471  2012-06-15 00:02  BBS\.myeclipse\build\ckeditor\lang\af.js
............此处省略2942个文件信息

评论

共有 条评论