org.seasar.extension.jdbc.gen.exception
クラス SqlFailedRuntimeException

java.lang.Object
  上位を拡張 java.lang.Throwable
      上位を拡張 java.lang.Exception
          上位を拡張 java.lang.RuntimeException
              上位を拡張 org.seasar.framework.exception.SRuntimeException
                  上位を拡張 org.seasar.extension.jdbc.gen.exception.SqlFailedRuntimeException
すべての実装されたインタフェース:
java.io.Serializable

public class SqlFailedRuntimeException
extends SRuntimeException

SQLファイル内に記述されたSQLの実行に失敗した場合にスローされる例外です。

作成者:
taedium
関連項目:
直列化された形式

フィールドの概要
protected  int lineNumber
          行番号
protected  java.lang.String sql
          SQL
protected  java.lang.String sqlFilePath
          ファイルのパス
 
コンストラクタの概要
SqlFailedRuntimeException(java.lang.Exception cause, java.lang.String sqlFilePath, int lineNumber, java.lang.String sql)
          インスタンスを構築します。
 
メソッドの概要
 int getLineNumber()
          行番号を返します。
 java.lang.String getSql()
          SQLを返します。
 java.lang.String getSqlFilePath()
          ファイルのパスを返します。
 
クラス org.seasar.framework.exception.SRuntimeException から継承されたメソッド
getArgs, getMessage, getMessageCode, getSimpleMessage, setMessage
 
クラス java.lang.Throwable から継承されたメソッド
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

sqlFilePath

protected java.lang.String sqlFilePath
ファイルのパス


lineNumber

protected int lineNumber
行番号


sql

protected java.lang.String sql
SQL

コンストラクタの詳細

SqlFailedRuntimeException

public SqlFailedRuntimeException(java.lang.Exception cause,
                                 java.lang.String sqlFilePath,
                                 int lineNumber,
                                 java.lang.String sql)
インスタンスを構築します。

パラメータ:
cause - 原因
sqlFilePath - ファイルのパス
lineNumber - 行番号
sql - SQL
メソッドの詳細

getSqlFilePath

public java.lang.String getSqlFilePath()
ファイルのパスを返します。

戻り値:
ファイルのパス

getSql

public java.lang.String getSql()
SQLを返します。

戻り値:
SQL

getLineNumber

public int getLineNumber()
行番号を返します。

戻り値:
行番号


Copyright © 2004-2014 The Seasar Foundation. All Rights Reserved.