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