jp.terasoluna.fw.ex.web.struts.action
クラス ValidationExceptionHandler
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.ValidationExceptionHandler
public class ValidationExceptionHandler
- extends BLogicExceptionHandler
ValidationException用の例外ハンドラクラスです。
- バージョン:
- 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 |
ValidationExceptionHandler
public ValidationExceptionHandler()
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インスタンスを取得します。
以下の順序で遷移先を特定します。
- 実行中のaction要素のinput属性
- exception要素のpath属性
- いずれも取得できない場合はnull
- オーバーライド:
- クラス
AbstractExceptionHandler
内の getActionForward
- パラメータ:
ex
- 例外ae
- ExceptionConfigmapping
- アクションマッピングrequest
- リクエスト
- 戻り値:
- 遷移先を表すActionFowardインスタンス
Copyright © 2012. All Rights Reserved.