java.lang.Throwable.printStackTrace()
public void printStackTrace()
Prints this throwable and its backtrace to the standard error stream. This method prints a stack trace for this Throwable object on the error output stream that is the value of the field System.err. The first line of output contains the result of the toString() method for this object. Remaining lines represent data previously recorded by the method fillInStackTrace(). The format of this information depends on the implementation, but the following example may be regarded as typical:
(打印这个 throwable 和 它的backtrace 到标准错误流,这个方法为这个在错误的输出流上的 Throwable 对象打印一个栈踪迹,这个 Throwable 对象是 字段 System.err 的值, 这个首行输出为包含这个对象的 toString() 方法的结果. 靠方法 fillInStackTrace() 来保留之前已记录的行表现数据, 这个信息的格式依赖你的实现, 但是下面的例子可能被当作典型 )
.........................................
不知道译得对不对,还请有些地方指点一下.