|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jp.terasoluna.fw.file.dao.FileException
jp.terasoluna.fw.file.dao.FileLineException
public class FileLineException
ファイルから行のデータを読み取る際に発生した例外をラップするクラス。
エラーの情報として以下を持つ。
| コンストラクタの概要 | |
|---|---|
FileLineException(Exception e)
コンストラクタ。 |
|
FileLineException(Exception e,
String fileName,
int lineNo)
コンストラクタ。 |
|
FileLineException(Exception e,
String fileName,
int lineNo,
String columnName,
int columnIndex)
コンストラクタ。 |
|
FileLineException(String message)
コンストラクタ。 |
|
FileLineException(String message,
Exception e)
コンストラクタ。 |
|
FileLineException(String message,
Exception e,
String fileName,
int lineNo)
コンストラクタ。 |
|
FileLineException(String message,
Exception e,
String fileName,
int lineNo,
String columnName,
int columnIndex)
コンストラクタ。 |
|
| メソッドの概要 | |
|---|---|
int |
getColumnIndex()
エラーが発生したカラムのカラム番号を取得する。 |
String |
getColumnName()
カラム名を取得する。 |
int |
getLineNo()
エラーが発生した行の行番号を取得する。 |
| クラス jp.terasoluna.fw.file.dao.FileException から継承されたメソッド |
|---|
getFileName |
| クラス java.lang.Throwable から継承されたメソッド |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public FileLineException(Exception e)
e - 原因例外public FileLineException(String message)
message - メッセージ
public FileLineException(String message,
Exception e)
message - メッセージe - 原因例外
public FileLineException(Exception e,
String fileName,
int lineNo)
e - 原因例外fileName - ファイル名lineNo - エラーが発生したデータのデータ部内行番号
public FileLineException(String message,
Exception e,
String fileName,
int lineNo)
message - メッセージe - 原因例外fileName - ファイル名lineNo - エラーが発生したデータのデータ部内行番号
public FileLineException(Exception e,
String fileName,
int lineNo,
String columnName,
int columnIndex)
e - 原因例外fileName - ファイル名lineNo - エラーが発生したデータのデータ部内行番号columnName - カラム名columnIndex - エラーが発生したカラム番号
public FileLineException(String message,
Exception e,
String fileName,
int lineNo,
String columnName,
int columnIndex)
message - メッセージe - 原因例外fileName - ファイル名lineNo - エラーが発生したデータのデータ部内行番号columnName - カラム名columnIndex - エラーが発生したカラム番号| メソッドの詳細 |
|---|
public String getColumnName()
public int getLineNo()
public int getColumnIndex()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||