jp.terasoluna.fw.batch.exception
クラス BatchException

java.lang.Object
  上位を拡張 java.lang.Throwable
      上位を拡張 java.lang.Exception
          上位を拡張 java.lang.RuntimeException
              上位を拡張 jp.terasoluna.fw.batch.exception.BatchException
すべての実装されたインタフェース:
Serializable

public class BatchException
extends RuntimeException

バッチ例外。

バッチ実行時に発生した例外情報を保持する。

関連項目:
直列化された形式

コンストラクタの概要
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
 

コンストラクタの詳細

BatchException

public BatchException()
BatchExceptionを生成する


BatchException

public BatchException(String message)
BatchExceptionを生成する

パラメータ:
message -

BatchException

public BatchException(String message,
                      Throwable cause)
BatchExceptionを生成する

パラメータ:
message -
cause -

BatchException

public BatchException(Throwable cause)
BatchExceptionを生成する

パラメータ:
cause -

BatchException

public BatchException(String messageId,
                      String message)
BatchExceptionを生成する

パラメータ:
messageId - エラーコード
message - エラーメッセージ

BatchException

public BatchException(String messageId,
                      String message,
                      Throwable cause)
BatchExceptionを生成する

パラメータ:
messageId - メッセージID
message - エラーメッセージ
cause - 原因となった例外

BatchException

public BatchException(String messageId,
                      String message,
                      Object... params)
BatchExceptionを生成する

パラメータ:
messageId - メッセージID
message - エラーメッセージ
params - 例外情報特定のためのパラメータ

BatchException

public BatchException(String messageId,
                      String message,
                      Throwable cause,
                      Object... params)
BatchExceptionを生成する

パラメータ:
messageId - メッセージID
message - エラーメッセージ
cause - 原因となった例外
params - 例外情報特定のためのパラメータ
メソッドの詳細

createException

public static BatchException createException(String messageId)
BatchExceptionのファクトリメソッド

パラメータ:
messageId - メッセージID
戻り値:
引数の内容で作成されたBatchExceptionインスタンス

createException

public static BatchException createException(String messageId,
                                             Object... params)
BatchExceptionのファクトリメソッド

パラメータ:
messageId - メッセージID
params - 例外情報特定のためのパラメータ
戻り値:
引数の内容で作成されたBatchExceptionインスタンス

createException

public static BatchException createException(String messageId,
                                             Throwable cause)
BatchExceptionのファクトリメソッド

パラメータ:
messageId - メッセージID
cause - 原因となった例外
戻り値:
引数の内容で作成されたBatchExceptionインスタンス

createException

public static BatchException createException(String messageId,
                                             Throwable cause,
                                             Object... params)
BatchExceptionのファクトリメソッド

パラメータ:
messageId - メッセージID
cause - 原因となった例外
params - 例外情報特定のためのパラメータ
戻り値:
引数の内容で作成されたBatchExceptionインスタンス

getLogMessage

public String getLogMessage()
ログ出力用文字列作成

戻り値:
ログ出力用文字列

getMessageId

public String getMessageId()
メッセージIDを取得.

戻り値:
the messageId


Copyright © 2011. All Rights Reserved.