Class CouchbaseExceptionMappings
java.lang.Object
org.apache.nifi.processors.couchbase.CouchbaseExceptionMappings
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Map<Class<? extends com.couchbase.client.core.CouchbaseException>, ErrorHandlingStrategy> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorHandlingStrategygetStrategy(com.couchbase.client.core.CouchbaseException e) Returns a registered error handling strategy.
-
Field Details
-
mapping
private static final Map<Class<? extends com.couchbase.client.core.CouchbaseException>,ErrorHandlingStrategy> mapping
-
-
Constructor Details
-
CouchbaseExceptionMappings
public CouchbaseExceptionMappings()
-
-
Method Details
-
getStrategy
Returns a registered error handling strategy.- Parameters:
e- the CouchbaseException- Returns:
- a registered strategy, if it's not registered, then return Fatal
-