Name

java.lang.RuntimeException

Synopsis

This exception is identical to its J2SE counterpart. It is a superclass of a number of exceptions that signify that an unexpected condition has occurred at runtime. Applications are not required to catch runtime exceptions, as they can be thrown at any time.

public classRuntimeException extends java.lang.Exception {
   // constructors
   public RuntimeException();
   public RuntimeException(String s);
}

Get Wireless Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.