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

コンストラクタの概要
ApplicationExceptionHandler()
           
 
メソッドの概要
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
 

コンストラクタの詳細

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インスタンスを取得します。 以下の順序で遷移先を特定します。
  1. ApplicationExceptionが保持するフォワード名を持つローカルフォワード
  2. ApplicationExceptionが保持するフォワード名を持つグローバルフォワード
  3. exception要素のpath属性
  4. 実行中のaction要素のinput属性
  5. いずれも取得できない場合はnull

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


Copyright © 2012. All Rights Reserved.