When an exception is thrown, the static, compile-time type of the thrown object determines the type of the exception object.

  • 当抛出一个表达式的时候,被抛出对象的静态编译时类型将决定异常对象的类型。
目录 查词历史