public class RuntimeException extends Exception
RuntimeExceptionis the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.
A method is not required to declare in its
clause any subclasses of
RuntimeException that might
be thrown during the execution of the method but not caught.
|Constructor and Description|
RuntimeExceptionwith no detail message.
public RuntimeException(String s)
RuntimeExceptionwith the specified detail message.
s- the detail message.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.