method throws an IOException, then the stream will not be closed (until the garbage collector runs its finalizer).
但是如果 props.load()方法抛出一个IOException,那么流则不会被关闭(直到垃圾收集器运行其终结器)。
Please note that you still need to throw whatever exception is caught by the invoked code (in this case, IOException).
请注意您还是需要抛出由被调用代码捕获的异常(在本例中,为IOException)。
The Web services server did respond with an IOException, but that was not enough information for you to find out what went wrong.
Web服务服务器虽然返回一个IOException响应,但是对于您来说这些信息还不足以查找出问题发生的原因。
The code in Listing 2 represents an exception-handling structure for file (IOException) and number conversion (ParseException) errors.
清单2中的代码给出了一个针对文件(IOException)和数字转换(ParseException)错误的异常处理结构。
FileVisitResult preVisitDirectoryFailed(T dir, IOException exception) is called when a directory could not be visited for some reason.
当目录由于某些原因无法访问时,调用FileVisitResultpreVisitDirectoryFailed(Tdir,IOExceptionexception)。
The method will catch other exceptions such as MalformedURLException and IOException and throw the custom exception so that it can be caught by the GWT client.
方法捕捉其他异常(比如MalformedURLException和IOException)并抛出定制的异常,让GWT客户机可以捕捉到它。
The method will catch other exceptions such as MalformedURLException and IOException and throw the custom exception so that it can be caught by the GWT client.
方法捕捉其他异常(比如MalformedURLException和IOException)并抛出定制的异常,让GWT客户机可以捕捉到它。
应用推荐