黄色在线观看视频-黄色在线免费看-黄色在线视频免费-黄色在线视频免费看-免费啪啪网-免费啪啪网站

首頁 考試吧論壇 Exam8視線 考試商城 網絡課程 模擬考試 考友錄 實用文檔 求職招聘 論文下載
2011中考 | 2011高考 | 2012考研 | 考研培訓 | 在職研 | 自學考試 | 成人高考 | 法律碩士 | MBA考試
MPA考試 | 中科院
四六級 | 職稱英語 | 商務英語 | 公共英語 | 托福 | 雅思 | 專四專八 | 口譯筆譯 | 博思 | GRE GMAT
新概念英語 | 成人英語三級 | 申碩英語 | 攻碩英語 | 職稱日語 | 日語學習 | 法語 | 德語 | 韓語
計算機等級考試 | 軟件水平考試 | 職稱計算機 | 微軟認證 | 思科認證 | Oracle認證 | Linux認證
華為認證 | Java認證
公務員 | 報關員 | 銀行從業資格 | 證券從業資格 | 期貨從業資格 | 司法考試 | 法律顧問 | 導游資格
報檢員 | 教師資格 | 社會工作者 | 外銷員 | 國際商務師 | 跟單員 | 單證員 | 物流師 | 價格鑒證師
人力資源 | 管理咨詢師考試 | 秘書資格 | 心理咨詢師考試 | 出版專業資格 | 廣告師職業水平
駕駛員 | 網絡編輯
衛生資格 | 執業醫師 | 執業藥師 | 執業護士
會計從業資格考試會計證) | 經濟師 | 會計職稱 | 注冊會計師 | 審計師 | 注冊稅務師
注冊資產評估師 | 高級會計師 | ACCA | 統計師 | 精算師 | 理財規劃師 | 國際內審師
一級建造師 | 二級建造師 | 造價工程師 | 造價員 | 咨詢工程師 | 監理工程師 | 安全工程師
質量工程師 | 物業管理師 | 招標師 | 結構工程師 | 建筑師 | 房地產估價師 | 土地估價師 | 巖土師
設備監理師 | 房地產經紀人 | 投資項目管理師 | 土地登記代理人 | 環境影響評價師 | 環保工程師
城市規劃師 | 公路監理師 | 公路造價師 | 安全評價師 | 電氣工程師 | 注冊測繪師 | 注冊計量師
繽紛校園 | 實用文檔 | 英語學習 | 作文大全 | 求職招聘 | 論文下載 | 訪談 | 游戲
您現在的位置: 考試吧(Exam8.com) > 計算機等級考試 > 計算機二級 > JAVA > 復習資料 > 正文

2011年計算機等級考試二級Java經典算法大全(27)

來源:考試吧Exam8.com) 2010-10-31 11:02:25 考試吧:中國教育培訓第一門戶 模擬考場
本文為“計算機等級考試二級Java經典算法大全”,以供廣大學員參考使用。更多關于計算機等級考試資料,請訪問考試吧計算機等級考試頻道(djks.exam8.com)。

  異常處理類

  /**

  * (#)ThrowableManager.java 1.0 Apr 10, 2008

  *

  * Copyright 2007- wargrey , Inc. All rights are reserved.

  */

  package net.wargrey.application;

  import java.awt.Component;

  import javax.swing.JOptionPane;

  /**

  * This class ExceptionManager and its subclasses are a form of

  * Exception. It is used to wrap all the Throwable instances

  * and handle them in a unified way. It will show the information which consists of

  * StackTraces and Messages by using JOptionPanel.

  *

  * @author Estelle

  * @version 1.0

  * @see java.lang.Exception

  * @since jdk 1.5

  */

  public class ExceptionManager extends Exception {

  /**

  * This field alerter is used to show the information the Class offered.

  *

  * @see javax.swing.JOptionPane

  */

  private JOptionPane alerter;

  /**

  * This static method create an instance of the ExceptionManager by invoking the

  * constructor ExceptionManager(String msg).

  *

  * @param msg The message will pass the specified constructor

  * @return An instance of the ExceptionManager created by invoking the constructor

  * ExceptionManager(String msg).

  */

  public static ExceptionManager wrap(String msg){

  return new ExceptionManager(msg);

  }

  /**

  * This static method create an instance of the ExceptionManager by invoking the

  * constructor ExceptionManager(Throwable throwable).

  *

  * @param throwable The cause will pass the specified constructor

  * @return An instance of the ExceptionManager created by invoking the constructor

  * ExceptionManager(Throwable throwable).

  */

  public static ExceptionManager wrap(Throwable throwable){

  return new ExceptionManager(throwable);

  }

  /**

  * This static method create an instance of the ExceptionManager by invoking the

  * constructor ExceptionManager(String msg,Throwable throwable).

  *

  * @param msg The message will pass the specified constructor

  * @param throwable The cause will pass the specified constructor

  * @return An instance of the ExceptionManager created by invoking the constructor

  * ExceptionManager(String msg, Throwable throwable)

  */

  public static ExceptionManager wrap(String msg,Throwable throwable){

  return new ExceptionManager(msg,throwable);

  }

  /**

  * Constructs a new instance with the specified detail message. The concrete handler

  * is its super class. This constructor always used to construct a custom exception

  * not wrapping the exist exception.

  *

  * @param msg the detail message which is the part of the information will be

  * shown.

  */

1 2 3 下一頁
  相關推薦:計算機等級考試二級Java編程的三十個基本規則

       計算機等級考試二級Java練習題及答案匯總

文章搜索
版權聲明:如果計算機等級考試網所轉載內容不慎侵犯了您的權益,請與我們聯系800@exam8.com,我們將會及時處理。如轉載本計算機等級考試網內容,請注明出處。
主站蜘蛛池模板: yy4138理论片在线大全 | 亚洲日韩精品欧美一区二区 | 成人网18免费 | 久操精品视频 | 久久国产成人精品 | 69午夜视频 | 一级女性全黄生活片免费看 | 精品久久香蕉国产线看观看亚洲 | 亚洲精品视频专区 | 91福利社在线观看 | 黄色一级片欧美 | 妞干网最新| 精品视频vs精品视频 | 在线免费视频网站 | 日本簧片在线观看 | 成人在激情在线视频 | 黄色一级免费看 | 精品女同一区二区三区免费播放 | 男女摸下面刺激免费视频软件 | 日本成人网址 | 中文字幕在线视频免费观看 | 2018天天干夜夜操 | 久久综合九色综合97小说 | 国内精品久久久久久久久野战 | 久久夜色精品国产亚洲 | 国产女同一区二区在线 | 一级片在线播放 | 最新中文字幕在线播放 | 久久一卡二卡 | 一级毛片免费不卡夜夜欢 | 亚洲视频在线精品 | 国产日韩欧美在线观看不卡 | 任我鲁这里有精品视频在线播 | 天堂中文网 | 日韩激情在线播放 | 久久综合久久久 | 日韩福利 | 黄色一级片在线观看 | 日韩欧美一区二区三区免费观看 | 极品美女aⅴ高清在线观看 极品美女丝袜被的网站 | 九九九热在线精品免费全部 |