public class ExceptionConverter
extends java.lang.Object
Exceptions into SQLExceptions.
(This class should eventually handle converting various AxionExceptions in to
the proper SQLException with vendor message and code.)
| Constructor and Description |
|---|
ExceptionConverter() |
| Modifier and Type | Method and Description |
|---|---|
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) |
public static java.sql.SQLException convert(AxionException e)
public static java.sql.SQLException convert(java.lang.RuntimeException e)
public static java.sql.SQLException convert(java.lang.String message,
java.lang.RuntimeException e)
public static java.sql.SQLException convert(java.io.IOException e)
public static java.io.IOException convertToIOException(java.lang.Exception e)
public static java.lang.RuntimeException convertToRuntimeException(java.lang.Exception e)