|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jp.terasoluna.fw.batch.exception.BatchException
public class BatchException
バッチ例外。
バッチ実行時に発生した例外情報を保持する。
コンストラクタの概要 | |
---|---|
BatchException()
BatchExceptionを生成する |
|
BatchException(String message)
BatchExceptionを生成する |
|
BatchException(String messageId,
String message)
BatchExceptionを生成する |
|
BatchException(String messageId,
String message,
Object... params)
BatchExceptionを生成する |
|
BatchException(String messageId,
String message,
Throwable cause)
BatchExceptionを生成する |
|
BatchException(String messageId,
String message,
Throwable cause,
Object... params)
BatchExceptionを生成する |
|
BatchException(String message,
Throwable cause)
BatchExceptionを生成する |
|
BatchException(Throwable cause)
BatchExceptionを生成する |
メソッドの概要 | |
---|---|
static BatchException |
createException(String messageId)
BatchExceptionのファクトリメソッド |
static BatchException |
createException(String messageId,
Object... params)
BatchExceptionのファクトリメソッド |
static BatchException |
createException(String messageId,
Throwable cause)
BatchExceptionのファクトリメソッド |
static BatchException |
createException(String messageId,
Throwable cause,
Object... params)
BatchExceptionのファクトリメソッド |
String |
getLogMessage()
ログ出力用文字列作成 |
String |
getMessageId()
メッセージIDを取得. |
クラス 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 BatchException()
public BatchException(String message)
message
- public BatchException(String message, Throwable cause)
message
- cause
- public BatchException(Throwable cause)
cause
- public BatchException(String messageId, String message)
messageId
- エラーコードmessage
- エラーメッセージpublic BatchException(String messageId, String message, Throwable cause)
messageId
- メッセージIDmessage
- エラーメッセージcause
- 原因となった例外public BatchException(String messageId, String message, Object... params)
messageId
- メッセージIDmessage
- エラーメッセージparams
- 例外情報特定のためのパラメータpublic BatchException(String messageId, String message, Throwable cause, Object... params)
messageId
- メッセージIDmessage
- エラーメッセージcause
- 原因となった例外params
- 例外情報特定のためのパラメータメソッドの詳細 |
---|
public static BatchException createException(String messageId)
messageId
- メッセージID
public static BatchException createException(String messageId, Object... params)
messageId
- メッセージIDparams
- 例外情報特定のためのパラメータ
public static BatchException createException(String messageId, Throwable cause)
messageId
- メッセージIDcause
- 原因となった例外
public static BatchException createException(String messageId, Throwable cause, Object... params)
messageId
- メッセージIDcause
- 原因となった例外params
- 例外情報特定のためのパラメータ
public String getLogMessage()
public String getMessageId()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |