Java by API/java.lang/RuntimeException
new RuntimeException(String name)
/*
* Output:
*
*
*/
public class MainClass {
public static void main(String args[]) {
try {
throw new RuntimeException("demo");
} catch (Exception e) {
}
}
}