Class TypeHierarchyErroneousException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.mapstruct.ap.spi.TypeHierarchyErroneousException
All Implemented Interfaces:
Serializable

public class TypeHierarchyErroneousException extends RuntimeException
Indicates a type was visited whose hierarchy was erroneous, because it has a non-existing super-type.

This exception can be used to signal the MapStruct processor to postpone the generation of the mappers to the next round

Author:
Gunnar Morling
See Also:
  • Constructor Details

    • TypeHierarchyErroneousException

      public TypeHierarchyErroneousException(TypeElement element)
    • TypeHierarchyErroneousException

      public TypeHierarchyErroneousException(TypeMirror type)
  • Method Details