クラス PassThroughExceptionTranslationStrategy
java.lang.ObjectSE
org.springframework.data.redis.PassThroughExceptionTranslationStrategy
- 実装されているすべてのインターフェース:
ExceptionTranslationStrategy
- 既知の直属サブクラス
FallbackExceptionTranslationStrategy
public class PassThroughExceptionTranslationStrategy
extends ObjectSE
implements ExceptionTranslationStrategy
PassThroughExceptionTranslationStrategy は、不明な ExceptionSE に対して null を返します。- 導入:
- 1.4
- 作成者:
- Christoph Strobl, Mark Paluch
コンストラクターの概要
コンストラクターコンストラクター説明メソッドのサマリー
コンストラクターの詳細
PassThroughExceptionTranslationStrategy
public PassThroughExceptionTranslationStrategy(Converter<ExceptionSE, DataAccessException> converter)
メソッドの詳細
translate
インターフェースからコピーされた説明:ExceptionTranslationStrategy指定されたExceptionSE をDataAccessExceptionに変換する可能性があります。- 次で指定:
- インターフェース
ExceptionTranslationStrategyのtranslate - パラメーター:
e- null であってはなりません。- 戻り値:
- 指定された
ExceptionSE を変換できない場合は、null になる可能性があります。