public final class SqlErrors extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getErrorMessage(DataSource dataSource,
SQLException sqlException)
Creates a more informative exception from the supplied exception.
|
public static String getErrorMessage(DataSource dataSource, SQLException sqlException)
dataSource
- The data source.sqlException
- Exception.Copyright © 2008–2018. All rights reserved.