how to throw fatal error in java code example
Example: throw error java
throw new java.lang.Error("this is very bad");
throw new java.lang.RuntimeException("this is not quite as bad");
throw new java.lang.Error("this is very bad");
throw new java.lang.RuntimeException("this is not quite as bad");