Package org.mapstruct.ap.spi
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TypeHierarchyErroneousException(TypeElement element)
TypeHierarchyErroneousException(TypeMirror type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeMirror
getType()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TypeHierarchyErroneousException
public TypeHierarchyErroneousException(TypeElement element)
-
TypeHierarchyErroneousException
public TypeHierarchyErroneousException(TypeMirror type)
-
-
Method Detail
-
getType
public TypeMirror getType()
-
-