Class PersistenceTypeHandlerProviderFailing<D>

java.lang.Object
one.microstream.persistence.types.PersistenceDataTypeHolder.Default<D>
one.microstream.persistence.internal.PersistenceTypeHandlerProviderFailing<D>
Type Parameters:
D - the data type
All Implemented Interfaces:
PersistenceDataTypeHolder<D>, PersistenceTypeHandlerEnsurer<D>, PersistenceTypeHandlerIterable<D>, PersistenceTypeHandlerProvider<D>, PersistenceTypeIdLookup, PersistenceTypeLookup, PersistenceTypeManager, PersistenceTypeRegistry

public class PersistenceTypeHandlerProviderFailing<D>
extends PersistenceDataTypeHolder.Default<D>
implements PersistenceTypeHandlerProvider<D>
Trivial implementation that throws a PersistenceExceptionTypeNotPersistable for every type.

Useful if only pre-registered types shall be handleable and every unhandled type shall be indicated to be unpersistable.