Package io.cucumber.datatable
Class CucumberDataTableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.cucumber.datatable.CucumberDataTableException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DuplicateTypeException,InvalidDataTableTypeException,UndefinedDataTableTypeException
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCucumberDataTableException(@Nullable String message, Throwable throwable) CucumberDataTableException(String message) -
Method Summary
Modifier and TypeMethodDescription(package private) static CucumberDataTableExceptioncantConvertTo(Type type, String message) private static CucumberDataTableExceptioncantConvertToMap(Type keyType, Type valueType, String message) (package private) static <K,V> CucumberDataTableException duplicateKeyException(Type keyType, Type valueType, @Nullable K key, @Nullable V value, @Nullable V replaced) (package private) static CucumberDataTableExceptionkeysImplyTableEntryTransformer(Type keyType, Type valueType) (package private) static CucumberDataTableExceptionkeyValueMismatchException(boolean firstHeaderCellIsBlank, int keySize, Type keyType, int valueSize, Type valueType) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CucumberDataTableException
CucumberDataTableException(String message) -
CucumberDataTableException
-
-
Method Details
-
cantConvertTo
-
cantConvertToMap
private static CucumberDataTableException cantConvertToMap(Type keyType, Type valueType, String message) -
duplicateKeyException
static <K,V> CucumberDataTableException duplicateKeyException(Type keyType, Type valueType, @Nullable K key, @Nullable V value, @Nullable V replaced) -
keyValueMismatchException
static CucumberDataTableException keyValueMismatchException(boolean firstHeaderCellIsBlank, int keySize, Type keyType, int valueSize, Type valueType) -
keysImplyTableEntryTransformer
-