henix / blog

some notes
0 stars 0 forks source link

scala 的异常处理 #8

Open henix opened 11 years ago

henix commented 11 years ago

scala 的 thread 会忽略所有异常,在 scala 中实现 runnable 接口时一定要自己 catch 并处理异常