public abstract class SQLExceptionWrapper extends Object
SQLExceptionWrapper
is used to accommodate for
Java™ 7's suppressed exceptions.
When Java™ 6 is used, a fallback SQLExceptionWrapper
that produces similar output is used instead.
Modifier and Type | Field and Description |
---|---|
static SQLExceptionWrapper |
INSTANCE |
Constructor and Description |
---|
SQLExceptionWrapper() |
Modifier and Type | Method and Description |
---|---|
abstract RuntimeException |
wrap(SQLException exception) |
abstract RuntimeException |
wrap(String message,
SQLException exception) |
public static final SQLExceptionWrapper INSTANCE
public abstract RuntimeException wrap(SQLException exception)
public abstract RuntimeException wrap(String message, SQLException exception)
Copyright © 2007–2016 Querydsl. All rights reserved.