Package io.cucumber.cucumberexpressions
Class AmbiguousParameterTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.cucumber.cucumberexpressions.CucumberExpressionException
io.cucumber.cucumberexpressions.AmbiguousParameterTypeException
- All Implemented Interfaces:
Serializable
@API(status=STABLE)
public final class AmbiguousParameterTypeException
extends CucumberExpressionException
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<GeneratedExpression> private final Stringprivate final SortedSet<ParameterType<?>> private final Pattern -
Constructor Summary
ConstructorsConstructorDescriptionAmbiguousParameterTypeException(String parameterTypeRegexp, Pattern expressionRegexp, SortedSet<ParameterType<?>> parameterTypes, List<GeneratedExpression> generatedExpressions) -
Method Summary
Modifier and TypeMethodDescriptionprivate static Stringexpressions(List<GeneratedExpression> generatedExpressions) private static Stringprivate static StringparameterTypeNames(SortedSet<ParameterType<?>> parameterTypes) Methods inherited from class io.cucumber.cucumberexpressions.CucumberExpressionException
createAlternationNotAllowedInOptional, createAlternativeMayNotBeEmpty, createAlternativeMayNotExclusivelyContainOptionals, createCantEscape, createInvalidParameterTypeName, createInvalidParameterTypeName, createMissingEndToken, createOptionalIsNotAllowedInOptional, createOptionalMayNotBeEmpty, createParameterIsNotAllowedInOptional, createTheEndOfLineCanNotBeEscaped, message, pointAtMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
regexp
-
parameterTypeRegexp
-
parameterTypes
-
generatedExpressions
-
-
Constructor Details
-
AmbiguousParameterTypeException
AmbiguousParameterTypeException(String parameterTypeRegexp, Pattern expressionRegexp, SortedSet<ParameterType<?>> parameterTypes, List<GeneratedExpression> generatedExpressions)
-
-
Method Details
-
parameterTypeNames
-
expressions
-
join
-
getRegexp
-
getParameterTypeRegexp
-
getParameterTypes
-
getGeneratedExpressions
-