runtimeexception

  • 网络运行期异常;执行异常
runtimeexceptionruntimeexception
  1. RuntimeException has a constructor that makes it easy to wrap another exception .

    但是环境让调用者不方便或者说不可能处理,它抛出的自身的异常。

  2. Although a RuntimeException , this is a parent class which can be caught by clients of the library calls .

    虽然CalendricalExcpetion是一个RuntimeException,但客户端的库调用都可以捕获这个父类。

  3. If the value turns out to be null , I then throw a RuntimeException to alert everyone of the potential problem .

    如果其值最终为null,我就会抛出一个RuntimeException来警告他人注意这个潜在问题。

  4. Unlike RMI , these services don 't have checked exceptions ( though clearly , if a communication error occurs , a RuntimeException will be thrown ) .

    不像RMI那样,这些服务无需checkedexception(很明显,如果发生了通信错误则会抛出RuntimeException)。

  5. Unchecked exceptions which are descendents of RuntimeException class are the ideal candidate exceptions handle non-recoverable errors such as resource non-availability or some null pointers .

    未检查异常作为运行时Exception类是理想的异常侯选处理不可恢复性出错,如资源不可用或者空指针。

  6. Void respond ( RuntimeException , RequestCycle ) is called whenever an uncaught exception occurs during the event handling or response phase so that an appropriate exception response can be generated .

    只要在事件处理过程或响应阶段发生未被捕获的异常,voidrespond(RuntimeException,RequestCycle)都会被调用以便生成合适的异常响应。