net.jp.saf.sastruts.method.helpers.impl
クラス ThrowExceptionErrorHandler
java.lang.Object
net.jp.saf.sastruts.method.helpers.impl.AbstractErrorHandler
net.jp.saf.sastruts.method.helpers.impl.ThrowExceptionErrorHandler
- すべての実装されたインタフェース:
- Serializable, ErrorHandler
public class ThrowExceptionErrorHandler
- extends AbstractErrorHandler
MethodNotAllowedRuntimeExceptionを発生させるハンドラです.
- 作成者:
- k-minemoto
- 関連項目:
- 直列化された形式
| クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThrowExceptionErrorHandler
public ThrowExceptionErrorHandler()
error
public String error(HttpServletRequest request,
HttpServletResponse response,
HttpMethod[] allowed,
String method)
- エラー処理を行います.
- パラメータ:
request - HttpServletRequestresponse - HttpServletResponseallowed - 許可されているHttpMethodの配列method - 実際に呼び出されたメソッド
- 戻り値:
- フォワード先のパス. フォワードしない場合nullを返すこと.
Copyright © 2013 k-minemoto. All Rights Reserved.