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