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

コンストラクタの概要
ValidationExceptionHandler()
           
 
メソッドの概要
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インスタンスを取得します。
 
クラス jp.terasoluna.fw.ex.web.struts.action.BLogicExceptionHandler から継承されたメソッド
convertMessages, getErrors, setModule
 
クラス jp.terasoluna.fw.ex.web.struts.action.AbstractExceptionHandler から継承されたメソッド
execute, getBundleKey, getMessageResources, setRequestAttribute, storeException
 
クラス 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インスタンスを取得します。 以下の順序で遷移先を特定します。
  1. 実行中のaction要素のinput属性
  2. exception要素のpath属性
  3. いずれも取得できない場合はnull

オーバーライド:
クラス AbstractExceptionHandler 内の getActionForward
パラメータ:
ex - 例外
ae - ExceptionConfig
mapping - アクションマッピング
request - リクエスト
戻り値:
遷移先を表すActionFowardインスタンス


Copyright © 2012. All Rights Reserved.