What kind of of java.lang.Error can be thrown during compile time?
<p>What kind of java.lang.Error can be thrown during compile time ?<br>
I know one error: <code>ClassFormatError</code>. What are the others error?<br>
I'm writing an application that acts as a server. The server can compile a java program. During compilation I don't want to bring it down with any error, ensuring compilation. I have taken the necessarry steps that can prevent a compilation error.<br>
I'm not sure with java.lang.Error, I can catch Throwable object and prevent it, but I need to know what are the error objects that can be thrown during compile time. </p>
