jp.terasoluna.fw.ex.web.struts.action
クラス ApplicationExceptionHandler
java.lang.Object
org.apache.struts.action.ExceptionHandler
jp.terasoluna.fw.ex.web.struts.action.AbstractExceptionHandler
jp.terasoluna.fw.ex.web.struts.action.BLogicExceptionHandler
jp.terasoluna.fw.ex.web.struts.action.ApplicationExceptionHandler
public class ApplicationExceptionHandler
- extends BLogicExceptionHandler
AplicationException用の例外ハンドラクラスです。
- バージョン:
- 1.0.0
メソッドの概要 |
protected org.apache.struts.action.ActionForward |
getActionForward(Exception ex,
org.apache.struts.config.ExceptionConfig ae,
org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
遷移先を表すActionForwardインスタンスを取得します。 |
クラス org.apache.struts.action.ExceptionHandler から継承されたメソッド |
logException, storeException, storeException |
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationExceptionHandler
public ApplicationExceptionHandler()
getActionForward
protected org.apache.struts.action.ActionForward getActionForward(Exception ex,
org.apache.struts.config.ExceptionConfig ae,
org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- 遷移先を表すActionForwardインスタンスを取得します。
以下の順序で遷移先を特定します。
- ApplicationExceptionが保持するフォワード名を持つローカルフォワード
- ApplicationExceptionが保持するフォワード名を持つグローバルフォワード
- exception要素のpath属性
- 実行中のaction要素のinput属性
- いずれも取得できない場合はnull
- オーバーライド:
- クラス
AbstractExceptionHandler
内の getActionForward
- パラメータ:
ex
- 例外ae
- ExceptionConfigmapping
- アクションマッピングrequest
- リクエスト
- 戻り値:
- 遷移先を表すActionFowardインスタンス
Copyright © 2012. All Rights Reserved.