Class FallbackObjectCopierImpl

  • All Implemented Interfaces:
    ObjectCopier

    public class FallbackObjectCopierImpl
    extends Pair<ObjectCopier,​ObjectCopier>
    implements ObjectCopier
    Trys a first ObjectCopier. If the first throws a ReflectiveCopyException, falls back and tries a second ObjectCopier.