Code example for SQLException

0
        Assert.assertFalse(sorter.isExceptionFatal(new SQLException("xxx")));
    } 
     
    public void test_true() throws Exception { 
        SybaseExceptionSorter sorter = new SybaseExceptionSorter();
        Assert.assertTrue(sorter.isExceptionFatal(new SQLException("JZ0C0")));
    } 
     
    public void test_true_1() throws Exception { 
        SybaseExceptionSorter sorter = new SybaseExceptionSorter();
        Assert.assertTrue(sorter.isExceptionFatal(new SQLException("JZ0C1")));
    } 
}