Class UnsupportedValueGenerator

java.lang.Object
nl._42.beanie.generator.UnsupportedValueGenerator
All Implemented Interfaces:
ValueGenerator

public class UnsupportedValueGenerator extends Object implements ValueGenerator
Value generator that always throws an UnsupportedOperationException.
Since:
May 13, 2015
Author:
Jeroen van Schagen
  • Constructor Details

    • UnsupportedValueGenerator

      public UnsupportedValueGenerator()
  • Method Details

    • generate

      public Object generate(Class<?> type)
      Generate a new value of the specified type.
      Specified by:
      generate in interface ValueGenerator
      Parameters:
      type - the type of value
      Returns:
      the generation value