今天在遇到個問題,如何在callee中獲取caller的資訊? 搜尋了一下,java提供一種如下的方法: StackTraceElement stack[] = (new Throwable()).
確定! 回上一頁