# Class InternalUnsupportedTypeFactory

java.lang.Object
org.apache.cayenne.access.types.InternalUnsupportedTypeFactory

All Implemented Interfaces:
  `ExtendedTypeFactory`

public class InternalUnsupportedTypeFactory extends Object implements ExtendedTypeFactory
Extended type factory that produces types for Cayenne internal value types that could potentially make it to the DB. ExtendedTypes that produced by this factory just trying to throw user-friendly exception instead of unknown type one.

Since:
  4.2

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static interface`
  `InternalUnsupportedTypeFactory.Marker`
  Marker interface, that should be used by any internal value types, that could potentially get to the SQL

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `InternalUnsupportedTypeFactory()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ExtendedType<?>`
  `getType(Class<?> objectClass)`
  Returns ExtendedType instance that can handle a given object class.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### InternalUnsupportedTypeFactory

    public InternalUnsupportedTypeFactory()

- ## Method Details

  - ### getType

    public ExtendedType<?> getType(Class<?> objectClass)
    Description copied from interface: `ExtendedTypeFactory`
    Returns ExtendedType instance that can handle a given object class. May return null indicating that the class can not be handled.
    Specified by:
      `getType` in interface `ExtendedTypeFactory`