org.axiondb.util

Class 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.11 $ $Date: 2005/03/17 15:07:09 $

Author: Rodney Waldhoff Chuck Burdick

Method Summary
static SQLExceptionconvert(AxionException e)
static SQLExceptionconvert(RuntimeException e)
static SQLExceptionconvert(String message, RuntimeException e)
static SQLExceptionconvert(IOException e)
static IOExceptionconvertToIOException(Exception e)
static RuntimeExceptionconvertToRuntimeException(Exception e)

Method Detail

convert

public static SQLException convert(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)

convertToIOException

public static IOException convertToIOException(Exception e)

convertToRuntimeException

public static RuntimeException convertToRuntimeException(Exception e)