Was this page helpful?

Note

    內容表格
    1. 1. Exception

    Exception

    Java Exception處理之最佳實踐

     

    Java Essence

     

    • 犯錯並不可恥
    程式寫到出錯是不被老闆允許的,看在你有創意的份上,再試一次吧!...XD

     

     

    Catching multiple exceptions: good or bad?

    處理多個 exception,寫 API 的話,可以抓多個 exception 丟出自訂的 exception 這樣避免一個 method throws 大量的 exception。

    Was this page helpful?
    標籤 (Edit tags)
    • No tags
    blog comments powered by Disqus
    Powered by MindTouch Core