看板 java 關於我們 聯絡資訊
※ 引述《butme (交個朋友吧~)》之銘言: : 想請問各位板友 : 如何將 PrintStackTrace 在console中列印出的錯誤訊息儲存下來 : (我想將這些錯誤訊息 丟入資料庫內) : 但不知道有哪些可用的方法 @@~ : 謝謝大家囉 .java.lang.Throwable getMessage() Returns the detail message string of this throwable. printStackTrace(PrintStream s) Prints this throwable and its backtrace to the specified print stream. Reference: http://java.sun.com/javase/6/docs/api/index.html -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 60.248.127.91