public class JdbcException extends DomaException
args, messageResource
Constructor and Description |
---|
JdbcException(MessageResource messageCode,
java.lang.Object... args) |
JdbcException(MessageResource messageCode,
java.lang.Throwable cause,
java.lang.Object... args) |
Modifier and Type | Method and Description |
---|---|
protected static java.lang.String |
choiceSql(SqlLogType logType,
java.lang.String rawSql,
java.lang.String formattedSql)
Chooses the SQL string for logging depending on the log type
|
getArgs, getMessageResource
public JdbcException(MessageResource messageCode, java.lang.Object... args)
public JdbcException(MessageResource messageCode, java.lang.Throwable cause, java.lang.Object... args)
protected static java.lang.String choiceSql(SqlLogType logType, java.lang.String rawSql, java.lang.String formattedSql)
logType
- the log typerawSql
- the raw SQL stringformattedSql
- the formatted SQL string