Class TypeHierarchyErroneousException

  • All Implemented Interfaces:
    java.io.Serializable

    public class TypeHierarchyErroneousException
    extends java.lang.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

    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
      private javax.lang.model.type.TypeMirror type  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.lang.model.type.TypeMirror getType()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • type

        private final javax.lang.model.type.TypeMirror type
    • Constructor Detail

      • TypeHierarchyErroneousException

        public TypeHierarchyErroneousException​(javax.lang.model.element.TypeElement element)
      • TypeHierarchyErroneousException

        public TypeHierarchyErroneousException​(javax.lang.model.type.TypeMirror type)
    • Method Detail

      • getType

        public javax.lang.model.type.TypeMirror getType()