Package org.mapstruct.ap.spi
Class MoreThanOneBuilderCreationMethodException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.mapstruct.ap.spi.MoreThanOneBuilderCreationMethodException
-
- All Implemented Interfaces:
Serializable
public class MoreThanOneBuilderCreationMethodException extends RuntimeException
Indicates that a type has too many builder creation methods. This exception can be used to signal the MapStruct processor that more than one builder creation method was found.- Author:
- Filip Hrisafov
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MoreThanOneBuilderCreationMethodException(TypeMirror type, List<BuilderInfo> builderCreationMethods)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<BuilderInfo>
getBuilderInfo()
TypeMirror
getType()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MoreThanOneBuilderCreationMethodException
public MoreThanOneBuilderCreationMethodException(TypeMirror type, List<BuilderInfo> builderCreationMethods)
-
-
Method Detail
-
getType
public TypeMirror getType()
-
getBuilderInfo
public List<BuilderInfo> getBuilderInfo()
-
-