raise an exception 中文意思是什麼

raise an exception 解釋
引發異常
  • raise : vt 1 抬起,舉起(重物等);升(旗等);使起立,豎起(柱子等);撈起,打撈(沉船)。2 建造,建立(...
  • an : an1indef. art. 見 a 條。1. 〈方、口〉 = and. 2. 〈古、方〉 = (and) if.
  • exception : n. 1. 例外;除外,除去。2. 【法律】抗告;異議,不服,反對。adv. -ally ,-less adj. 無例外的。
  1. In this example, it will raise an exception because the pointer argument we supply isn ' t aligned to a 4 - byte boundary

    在這個例子中,它將產生一個異常,因為我們提供的指示器意見不是排列成一個4位分界的。
  2. Within this validation method i can check any of the entity ' s property values ( and even obtain read - only access to its associated objects ), and raise an exception as needed if the values are incorrect

    在驗證方法中可以檢查實體的屬性值(甚至只讀訪問其關聯的對象) ,如果值不合法的話將拋出異常。
  3. Ensure that calls to a cancellation method always return successfully, and never raise an exception

    請確保對取消方法發出的調用始終能夠成功返回,而且從不引發異常。
  4. This method does not raise an exception or return a value if the specified

    ,此方法不會引發異常或返回值。
分享友人