public class BasicSQLExceptionConverter extends Object
A helper to centralize conversion of SQLException
s to JDBCException
s.
<p/>
Used while querying JDBC metadata during bootstrapping
Modifier and Type | Field and Description |
---|---|
static BasicSQLExceptionConverter |
INSTANCE
Singleton access
|
static String |
MSG
Message
|
Constructor and Description |
---|
BasicSQLExceptionConverter() |
Modifier and Type | Method and Description |
---|---|
JDBCException |
convert(SQLException sqlException)
Perform a conversion.
|
public static final BasicSQLExceptionConverter INSTANCE
Singleton access
public static final String MSG
Message
public JDBCException convert(SQLException sqlException)
Perform a conversion.
sqlException
- The exception to convert.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.