Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 
 public class DRE_Sample {
     public void test1(int athrows NullPointerException {
     }
 
     public void test2(int bthrows ClassCastExceptionIOExceptionIllegalMonitorStateException {
        if (b == 0)
            throw new IOException("test");
    }
    public void test3(int cthrows SQLException {
        if (c == 0)
            throw new SQLException("test");
    }
    public void test4(int dthrows CustomRuntimeException {
        if (d == 0)
            throw new CustomRuntimeException();
    }
New to GrepCode? Check out our FAQ X