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を取得.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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 static BatchException createException(String messageId)
messageId - メッセージIDpublic 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()
Copyright © 2014 NTT DATA Corporation.