<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Java 企業應用
    不要溫柔的走入那個良夜
    Online Docs
    http://docs.python.org/2.6/library/exceptions.html
    The class hierarchy for built-in exceptions is:

    BaseException
     
    +-- SystemExit
     
    +-- KeyboardInterrupt
     
    +-- GeneratorExit
     
    +-- Exception
          
    +-- StopIteration
          
    +-- StandardError
          
    |    +-- BufferError
          
    |    +-- ArithmeticError
          
    |    |    +-- FloatingPointError
          
    |    |    +-- OverflowError
          
    |    |    +-- ZeroDivisionError
          
    |    +-- AssertionError
          
    |    +-- AttributeError
          
    |    +-- EnvironmentError
          
    |    |    +-- IOError
          
    |    |    +-- OSError
          
    |    |         +-- WindowsError (Windows)
          
    |    |         +-- VMSError (VMS)
          
    |    +-- EOFError
          
    |    +-- ImportError
          
    |    +-- LookupError
          
    |    |    +-- IndexError
          
    |    |    +-- KeyError
          
    |    +-- MemoryError
          
    |    +-- NameError
          
    |    |    +-- UnboundLocalError
          
    |    +-- ReferenceError
          
    |    +-- RuntimeError
          
    |    |    +-- NotImplementedError
          
    |    +-- SyntaxError
          
    |    |    +-- IndentationError
          
    |    |         +-- TabError
          
    |    +-- SystemError
          
    |    +-- TypeError
          
    |    +-- ValueError
          
    |         +-- UnicodeError
          
    |              +-- UnicodeDecodeError
          
    |              +-- UnicodeEncodeError
          
    |              +-- UnicodeTranslateError
          
    +-- Warning
               
    +-- DeprecationWarning
               
    +-- PendingDeprecationWarning
               
    +-- RuntimeWarning
               
    +-- SyntaxWarning
               
    +-- UserWarning
               
    +-- FutureWarning
           
    +-- ImportWarning
           
    +-- UnicodeWarning
           
    +-- BytesWarning
    exception BaseException

    The base class for all built-in exceptions. It is not meant to be directly inherited by user-defined classes (for that use Exception). If str() or unicode() is called on an instance of this class, the representation of the argument(s) to the instance are returned or the empty string when there were no arguments. All arguments are stored in args as a tuple.

    New in version 2.5.

    exception Exception

    All built-in, non-system-exiting exceptions are derived from this class. All user-defined exceptions should also be derived from this class.

    Changed in version 2.5: Changed to inherit from BaseException.

    '''
    Created on Aug 152013
    '''
    class MyException(Exception):
    #     
    """My documentation"""
    class MyException(Exception):
        pass
    class MyException(Exception):
    #     def _get_message(self): 
    #         
    return self.args[0]
    #     def _set_message(self, message): 
    #         self._message 
    = message
    #     message 
    = property(_get_message, _set_message)

    try:
        raise MyException(
    'description1''description2')
    except MyException as my:
        print str(my)
        print unicode(my) 
        
    try:
        raise MyException(u
    'description1', u'description2')
    except MyException as my:
        print str(my)  
        print unicode(my)  
       
    posted on 2013-08-16 10:23 cpegtop 閱讀(362) 評論(0)  編輯  收藏

    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
     
    主站蜘蛛池模板: 亚洲免费网站观看视频| 不卡一卡二卡三亚洲| 精品日韩亚洲AV无码一区二区三区| 日韩毛片免费一二三| 免费一看一级毛片全播放| AV激情亚洲男人的天堂国语| 国产美女无遮挡免费网站| 99亚洲乱人伦aⅴ精品| 国产无遮挡吃胸膜奶免费看视频 | 亚洲av成人无码久久精品 | 人人爽人人爽人人片A免费| 国产一级淫片免费播放电影| 亚洲国产精品无码久久久秋霞1| 好爽又高潮了毛片免费下载| 亚洲国产成人精品无码区花野真一 | 最近2022中文字幕免费视频| 91嫩草私人成人亚洲影院| 99久热只有精品视频免费看| 亚洲特级aaaaaa毛片| 波多野结衣在线免费视频| 亚洲av极品无码专区在线观看| 最近中文字幕无吗高清免费视频| 亚洲AV无码一区二区三区电影| 亚洲国产成人久久综合野外| 国产精品1024在线永久免费| 亚洲av激情无码专区在线播放| 4hu四虎最新免费地址| 亚洲国产精品无码久久98| 久久乐国产精品亚洲综合| 一个人免费视频观看在线www| 久久精品国产96精品亚洲| 99久久久精品免费观看国产 | 国产精品免费在线播放| 无码欧精品亚洲日韩一区| 野花高清在线观看免费完整版中文| 久久亚洲国产最新网站| 亚洲精品成人片在线观看| 美丽姑娘免费观看在线观看中文版 | 999zyz**站免费毛片| 亚洲制服丝袜中文字幕| 免费在线看片网站|