KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > test > jca > support > MockExceptionSorter


1 package org.jboss.test.jca.support;
2
3 import java.sql.SQLException JavaDoc;
4
5 import org.jboss.resource.adapter.jdbc.ExceptionSorter;
6
7 public class MockExceptionSorter implements ExceptionSorter
8 {
9    
10    private boolean fatal = true;
11    
12    
13    public boolean isExceptionFatal(SQLException JavaDoc e)
14    {
15        
16       return fatal;
17    }
18
19 }
20
Popular Tags