org.axiondb.util
Class ExceptionConverter
java.lang.Object
org.axiondb.util.ExceptionConverter
public class ExceptionConverter
- extends java.lang.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.11 $ $Date: 2005/03/17 15:07:09 $
|
Method Summary |
static java.sql.SQLException |
convert(AxionException e)
|
static java.sql.SQLException |
convert(java.io.IOException e)
|
static java.sql.SQLException |
convert(java.lang.RuntimeException e)
|
static java.sql.SQLException |
convert(java.lang.String message,
java.lang.RuntimeException e)
|
static java.io.IOException |
convertToIOException(java.lang.Exception e)
|
static java.lang.RuntimeException |
convertToRuntimeException(java.lang.Exception e)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionConverter
public ExceptionConverter()
convert
public static java.sql.SQLException convert(AxionException e)
convert
public static java.sql.SQLException convert(java.lang.RuntimeException e)
convert
public static java.sql.SQLException convert(java.lang.String message,
java.lang.RuntimeException e)
convert
public static java.sql.SQLException convert(java.io.IOException e)
convertToIOException
public static java.io.IOException convertToIOException(java.lang.Exception e)
convertToRuntimeException
public static java.lang.RuntimeException convertToRuntimeException(java.lang.Exception e)