jp.co.ogis_ri.citk.common.exception
クラス CitkExceptionStrategy
java.lang.Object
org.mule.processor.AbstractMessageProcessorOwner
org.mule.exception.AbstractExceptionStrategy
org.mule.exception.AbstractMessagingExceptionStrategy
jp.co.ogis_ri.citk.common.exception.CitkExceptionStrategy
- すべての実装されたインタフェース:
- AnnotatedObject, FlowConstructAware, MuleContextAware, ExceptionHandler, MessagingExceptionHandler, Disposable, Initialisable, Lifecycle, Startable, Stoppable
public class CitkExceptionStrategy
- extends AbstractMessagingExceptionStrategy
Mule ESBのカスタムExceptionStrategyクラス実装。CitkSystemException
および、
CitkApplicationException
のサブクラスに関して、ハンドリングを行う。
これらの例外をハンドルする際は、ユーザエージェントに対して通知するエラーメッセージも生成する。
- 作成者:
- ISP Shiraishi
クラス org.mule.exception.AbstractExceptionStrategy から継承されたメソッド |
addEndpoint, closeStream, commit, doInitialise, fireNotification, fireNotification, getCommitTxFilter, getExceptionType, getMessageProcessors, getOwnedMessageProcessors, getRollbackTxFilter, initialise, isEnableNotifications, isInitialised, isRollback, logException, logFatal, removeMessageProcessor, rollback, routeException, setCommitTxFilter, setEnableNotifications, setMessageProcessors, setRollbackTxFilter |
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CitkExceptionStrategy
public CitkExceptionStrategy(MuleContext muleContext)
- コンストラクタ。
getEncoding
public String getEncoding()
- エンコードを取得する。
- 戻り値:
- エンコード。
setEncoding
public void setEncoding(String encoding)
- エンコードを設定する。
- パラメータ:
encoding
- エンコード。
handleException
public MuleEvent handleException(Exception e,
MuleEvent event)
- Exceptionハンドラ。
- 定義:
- インタフェース
MessagingExceptionHandler
内の handleException
- オーバーライド:
- クラス
AbstractMessagingExceptionStrategy
内の handleException
- パラメータ:
e
- 対象のException。event
- Muleイベント。
- 戻り値:
- Muleイベント。
handleException
public MuleEvent handleException(Exception ex,
MuleEvent event,
RollbackSourceCallback rollbackMethod)
- Exceptionハンドラ。
- 定義:
- インタフェース
MessagingExceptionHandler
内の handleException
- オーバーライド:
- クラス
AbstractMessagingExceptionStrategy
内の handleException
- パラメータ:
ex
- 対象のException。event
- MuleイベントrollbackMethod。
-
- 戻り値:
- Muleイベント。
Copyright © 2011-2012 OGIS-RI Co.,Ltd.. All Rights Reserved.