org.axiondb.util
Class ExceptionConverter
java.lang.Object
org.axiondb.util.ExceptionConverter
- public class ExceptionConverter
- extends Object
Converts Axion-specific Exceptions into
SQLExceptions.
(This class should eventually handle converting various
AxionExceptions in to the proper SQLException
with vendor message and code.)
- Version:
- $Revision: 1.9 $ $Date: 2004/09/09 23:47:45 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionConverter
public ExceptionConverter()
convert
public static SQLException convert(AxionException e)
convert
public static SQLException convert(String msg,
AxionException e)
convert
public static SQLException convert(RuntimeException e)
convert
public static SQLException convert(String message,
RuntimeException e)
convert
public static SQLException convert(IOException e)
convertToIllegalArgumentException
public static IllegalArgumentException convertToIllegalArgumentException(String message,
RuntimeException e)
convertToIOException
public static IOException convertToIOException(Exception e)
convertToRuntimeException
public static RuntimeException convertToRuntimeException(Exception e)