@Published public class DbAccessException extends RuntimeException
SQLExceptionが発生した場合、本クラスでラップし再送出すること。SQLException,
直列化された形式| コンストラクタと説明 |
|---|
DbAccessException(String message,
SQLException e)
本クラスのインスタンスを生成する。
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
getErrorCode()
エラーコードを取得する。
|
String |
getSQLState()
SQLState値を取得する。
|
public DbAccessException(String message, SQLException e)
message - エラーメッセージe - データベースアクセス時に送出されたSQLExceptionオブジェクトpublic final String getSQLState()
SQLException.getSQLState()public final int getErrorCode()
SQLException.getErrorCode()