jp.terasoluna.fw.ex.web.struts.action
クラス BLogicExceptionHandler
java.lang.Object
org.apache.struts.action.ExceptionHandler
jp.terasoluna.fw.ex.web.struts.action.AbstractExceptionHandler
jp.terasoluna.fw.ex.web.struts.action.BLogicExceptionHandler
- 直系の既知のサブクラス:
- ApplicationExceptionHandler, ValidationExceptionHandler
public abstract class BLogicExceptionHandler
- extends AbstractExceptionHandler
BLogicException用の例外ハンドラクラスです。
- バージョン:
- 1.0.0
メソッドの概要 |
protected org.apache.struts.action.ActionMessages |
convertMessages(jp.terasoluna.fw.service.thin.BLogicMessages blogicMessages,
boolean resourceExists)
BLogicMessagesをActionMessagesに変換します。 |
protected org.apache.struts.action.ActionMessages |
getErrors(Exception ex,
org.apache.struts.config.ExceptionConfig ae,
org.apache.struts.util.MessageResources resources)
BLogicExceptionが保持するBLogicMessagesインスタンスから、
エラーメッセージの一覧を表すActionMessagesのインスタンスを構築して返します。 |
protected void |
setModule(org.apache.struts.action.ActionForward forward,
Exception ex,
org.apache.struts.config.ExceptionConfig ae,
org.apache.struts.action.ActionMapping mapping)
ActionForwardインスタンスに、遷移先モジュールを設定します。 |
クラス org.apache.struts.action.ExceptionHandler から継承されたメソッド |
logException, storeException, storeException |
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BLogicExceptionHandler
public BLogicExceptionHandler()
getErrors
protected org.apache.struts.action.ActionMessages getErrors(Exception ex,
org.apache.struts.config.ExceptionConfig ae,
org.apache.struts.util.MessageResources resources)
- BLogicExceptionが保持するBLogicMessagesインスタンスから、
エラーメッセージの一覧を表すActionMessagesのインスタンスを構築して返します。
- 定義:
- クラス
AbstractExceptionHandler
内の getErrors
- パラメータ:
ex
- 例外ae
- ExceptionConfigresources
- メッセージリソース
- 戻り値:
- エラーメッセージの一覧を保持するActionMessagesインスタンス
convertMessages
protected org.apache.struts.action.ActionMessages convertMessages(jp.terasoluna.fw.service.thin.BLogicMessages blogicMessages,
boolean resourceExists)
- BLogicMessagesをActionMessagesに変換します。
- パラメータ:
blogicMessages
- BLogicMessagesインスタンス
- 戻り値:
- エラーメッセージの一覧を保持するActionMessagesインスタンス
setModule
protected void setModule(org.apache.struts.action.ActionForward forward,
Exception ex,
org.apache.struts.config.ExceptionConfig ae,
org.apache.struts.action.ActionMapping mapping)
- ActionForwardインスタンスに、遷移先モジュールを設定します。
- 定義:
- クラス
AbstractExceptionHandler
内の setModule
- パラメータ:
forward
- 遷移先を表すActionForwardインスタンスex
- 例外ae
- ExceptionConfigmapping
- アクションマッピング
Copyright © 2012. All Rights Reserved.