Class DuplicateParameterTypeException
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class DuplicateParameterTypeException extends RuntimeException
A class representing a method with multiple parameters of the same type that have not been annotated with com.embabel.agent.api.annotation.RequireNameMatch.
-
-
Field Summary
Fields Modifier and Type Field Description private final Methodmethodprivate final List<DuplicateParameterType>duplicatesprivate final Throwablecauseprivate final Stringmessage
-
Constructor Summary
Constructors Constructor Description DuplicateParameterTypeException(Method method, List<DuplicateParameterType> duplicates)
-
Method Summary
Modifier and Type Method Description final MethodgetMethod()final List<DuplicateParameterType>getDuplicates()-
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
DuplicateParameterTypeException
DuplicateParameterTypeException(Method method, List<DuplicateParameterType> duplicates)
-
-
Method Detail
-
getDuplicates
final List<DuplicateParameterType> getDuplicates()
-
-
-
-