亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? exception.h

?? C++ SOCKET 類
?? H
字號(hào):
/*************************************************************************** *                                                                         * *   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; either version 2 of the License, or     * *   (at your option) any later version.                                   * *                                                                         * ***************************************************************************//** * Copyright (c) 2000 * * A C++ implementation of Asynchronous Input/Output, using threaded * objects to handle the data. * */#ifndef THREAD_EXCEPTION#define THREAD_EXCEPTION#include <string>#include <exception>extern "C" {#include <setjmp.h>};namespace cpp_threads {  /**   * Exception   *   * A common class, that holds all kinds of errors that can be   * cought by an exception handler.  The handler, can than   * act on the error reported.   *   * Some compilers, do not make the actual data in the class   * until after the constructor has finished.  This does   * constitute a problem in some cases, which introduces for   * us more types of exceptions.  A fatal exception, will be   * thrown right away, inside the constructor, while other   * kinds must be thrown by the user.   *   * @short Abstract class for exceptions.   * @author Orn E. Hansen <oe.hansen@gamma.telenordia.se>   */  class exception : public std::exception {  public:    /**     * These are the kinds of exceptions, that are defined.  In     * C++ there is only one possible exception, a fatal one,     * as it is not possible to return from the exception handler,     * but this just *may* be possible in future version, and is     * the intention of these exception types.     */    enum tType {      /** Undefined exception... same as none. */      ex_none,      /** A fatal exception, that will always result in a throw. */      ex_fatal,      /** Reserved for future expansion, non fatal warning. */      ex_warning,      /** Reserved for future expansion, non fatal interception requested. */      ex_intercept    };  private:    std::string mTextMessage;    void       *mBuffer;    tType       mErrorKind;    int         mErrno;    bool        mState;    sigjmp_buf  mEnv;  public:    /**     * The typical construction of an exception, will merely     * hold a textual message, and throw an error.  The     * constructor takes two parameters, one being the message     * and the other the type of exception.  The type, as     * give in the enumeration above, will determine wether the     * exception creation will terminate immediately or     * wait until the programmer determines it should.     *     * @param s String message     * @param t Type of exception     */    exception(const std::string&,tType t=ex_fatal);    virtual ~exception() throw();    /**     * Each exception may hold a numerical error, in accordance     * with C errno variable.  This is to set this error number     * to a specific value.  Setting the errno to 0, in an exception     * handler that has already been thrown, and is not a fatal     * exception, will return to the point where it was thrown.  Thus     * giving the user the ability to correct an error.     *     * @param n The error number value.     */    void setError(int);    /**     * Return the value of the error variable, as set during the     * exceptioon process.     *     * @return The error value.     */    int error();    /**     * Set the message, this exception will contain.  Usually a     * textual representation of the error.     *     * @param t String containing the error message     */    void setMessage(const std::string&);    /**     * Obtain the error message, this is the std::exception     * method for this.     *     * @return Error message.     */    const char *what();    /**     * Obtain the error message, set during the exception     * process.     *     * @return Error message.     */    std::string message() const;    /**     * Set the exception type, if different from the     * created one.  How useful this is, not very... but when     * exceptions become recoverable, on class may be reusable     * for error processing/recovering.     *     * @param t The exception type.     */    virtual void setException(tType);    /**     * Obtain the severity of the exception, as stated during the     * exception processing.     *     * @return Error severity, exception type.     */    tType severity();    /**     * A static member, that creates a textual exception with some     * specific type.  The exception will be throw immediately upon     * creation.     *     * @param s String message for the error.     * @param t The type of exception to create.     */    static void staticException(const std::string&,tType);    /**     * This static member, creates an error with an integer value     * that is assumed to be in accordance with the C errno variable,     * and the textual message of this error is loaded as the     * text message, before throwing the exception.     *     * @param n Error value, according to errno values.     * @param t The exception type to create.     */    static void staticException(int,tType);    static void fatal(int e)                     { staticException(e,ex_fatal);     };    static void fatal(const std::string& p)           { staticException(p,ex_fatal);     };    static void warning(int e)                   { staticException(e,ex_warning);   };    static void warning(const std::string& p)         { staticException(p,ex_warning);   };    static void intercept(int e)                 { staticException(e,ex_intercept); };    static void intercept(const std::string& p)       { staticException(p,ex_intercept); };  };};#endif

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
6080午夜不卡| 成人激情电影免费在线观看| 欧美人妇做爰xxxⅹ性高电影 | 欧美丰满嫩嫩电影| 日本免费在线视频不卡一不卡二| 欧美顶级少妇做爰| 麻豆精品久久精品色综合| 久久这里只有精品6| 国产成人一区在线| 亚洲日穴在线视频| 欧美精选一区二区| 精品在线你懂的| 中文字幕一区二区三区精华液| 在线观看日韩av先锋影音电影院| 男女男精品网站| 国产日产欧美一区| 在线观看一区二区视频| 日本中文字幕一区二区视频| 国产日韩欧美制服另类| 色综合欧美在线视频区| 婷婷中文字幕综合| 国产欧美精品一区二区色综合朱莉| 91香蕉视频污| 乱中年女人伦av一区二区| 国产午夜精品在线观看| 在线观看一区不卡| 国产精品白丝jk白祙喷水网站| 一区二区在线看| 欧美mv和日韩mv国产网站| 91首页免费视频| 日本一区中文字幕| 一色屋精品亚洲香蕉网站| 日韩一级完整毛片| 91福利在线观看| 国产成人精品一区二区三区网站观看| 亚洲福利国产精品| 国产精品美女久久久久久久久 | 亚洲精品老司机| 精品日韩在线观看| 色婷婷久久99综合精品jk白丝 | 黄页视频在线91| 亚洲综合图片区| 国产欧美一区二区精品性色超碰 | 成人黄色一级视频| 老鸭窝一区二区久久精品| 中文字幕永久在线不卡| 精品少妇一区二区三区在线播放| 在线观看av一区| 国产91色综合久久免费分享| 日本成人中文字幕| 一区二区三区在线视频播放| 国产精品三级av| 久久精品在这里| 精品国产乱码久久久久久闺蜜| 欧美亚洲国产一区二区三区va | 国产一区二区三区香蕉| 污片在线观看一区二区| 一区二区成人在线视频| 国产精品久久福利| 久久久久久久综合色一本| 91精品国产综合久久精品| 91成人在线免费观看| 成年人国产精品| 高潮精品一区videoshd| 国产一区在线看| 毛片av中文字幕一区二区| 日韩精品91亚洲二区在线观看| 一区二区三区在线视频观看58| 亚洲欧洲av在线| 日本一区二区综合亚洲| 国产日韩欧美精品在线| 国产亚洲精品中文字幕| 国产欧美精品国产国产专区| 国产性做久久久久久| 国产欧美一区二区精品婷婷| 中文字幕av一区二区三区| 中文字幕不卡在线播放| 国产精品第一页第二页第三页| 欧美国产一区二区| 国产精品青草综合久久久久99| 国产精品毛片无遮挡高清| 中文字幕不卡的av| 亚洲欧美日韩国产手机在线 | 国产精品福利一区| 中文字幕一区日韩精品欧美| 亚洲区小说区图片区qvod| 伊人色综合久久天天人手人婷| 亚洲一区二区av在线| 天天影视网天天综合色在线播放 | 国产日产欧美一区二区视频| 国产日韩精品一区二区浪潮av| 国产欧美精品一区aⅴ影院 | 国产午夜一区二区三区| 中文在线一区二区| 亚洲欧美激情一区二区| 亚洲一区二区三区在线看| 首页欧美精品中文字幕| 久久精品99国产精品| 国产激情一区二区三区桃花岛亚洲| 高清成人在线观看| 91麻豆视频网站| 在线成人av影院| 国产亚洲欧美日韩日本| 亚洲狠狠丁香婷婷综合久久久| 日韩不卡一区二区三区| 国产高清无密码一区二区三区| 色一情一乱一乱一91av| 91精品国产高清一区二区三区蜜臀| 久久婷婷国产综合国色天香| 亚洲人成网站色在线观看| 美女mm1313爽爽久久久蜜臀| 成人午夜激情在线| 欧美日韩精品一区视频| 国产日韩在线不卡| 亚洲一区二区av在线| 国产精品一区二区三区99| 一本色道a无线码一区v| 欧美一区日韩一区| 国产精品美女久久久久aⅴ国产馆| 亚洲成av人片www| 成人美女视频在线看| 欧美精品电影在线播放| 国产人成亚洲第一网站在线播放| 亚洲综合色噜噜狠狠| 国产精品资源网| 欧美人xxxx| 成人免费在线播放视频| 国产一区在线不卡| 欧美三级三级三级| 国产精品国产成人国产三级 | 视频一区视频二区中文| 暴力调教一区二区三区| 欧美成人video| 午夜精品国产更新| 91小视频在线免费看| 久久九九影视网| 男男视频亚洲欧美| 91福利国产成人精品照片| 国产亚洲成年网址在线观看| 麻豆精品蜜桃视频网站| 欧美午夜精品久久久久久超碰| 国产精品少妇自拍| 精品午夜一区二区三区在线观看| 欧美色综合网站| 亚洲欧美日韩系列| 粉嫩在线一区二区三区视频| 欧美岛国在线观看| 天堂久久久久va久久久久| 91黄色免费版| |精品福利一区二区三区| 国产大陆精品国产| 精品国产乱子伦一区| 美女高潮久久久| 欧美一级精品大片| 青青草成人在线观看| 欧美体内she精高潮| 亚洲国产视频在线| 在线一区二区观看| 亚洲主播在线播放| 色综合久久久久久久| 1区2区3区国产精品| 99re在线精品| 一区二区三区中文免费| 日本高清不卡在线观看| 亚洲精品免费一二三区| 91国偷自产一区二区使用方法| 综合分类小说区另类春色亚洲小说欧美| 丁香婷婷深情五月亚洲| 中文字幕成人av| 91免费视频观看| 日韩精品在线一区| 国产欧美视频一区二区三区| 国产永久精品大片wwwapp| 久久久久青草大香线综合精品| 国产精品一区二区无线| 国产精品午夜在线| 99精品视频一区| 亚洲午夜精品久久久久久久久| 欧美丝袜丝nylons| 免费成人在线网站| 久久新电视剧免费观看| av综合在线播放| 亚洲国产日韩精品| 日韩一二三四区| 国产精品系列在线播放| 中文字幕中文乱码欧美一区二区| 93久久精品日日躁夜夜躁欧美| 一区二区三区欧美亚洲| 7777精品伊人久久久大香线蕉的 | 91精品国产综合久久久久久漫画| 日本va欧美va瓶| 国产拍欧美日韩视频二区| 色噜噜狠狠一区二区三区果冻| 亚洲高清视频在线| 久久影院午夜片一区| 色偷偷久久一区二区三区| 日本成人中文字幕| 国产欧美在线观看一区| 欧美三区免费完整视频在线观看| 精品写真视频在线观看|