Annotation Type ThrowWhenNoData
-
@Retention(RUNTIME) @Target(TYPE) public @interface ThrowWhenNoData
AnnotatesSequentialGetStepSupplierand defines class of aThrowablemay be thrown when get-step returns no valuable data. All that is defined by this annotation is inherited by subclasses. Also it may be overridden in subclasses by declaration of another 'ThrowWhenNoData'
-
-
Field Summary
Fields Modifier and Type Fields Description static StringDEFAULT_MESSAGE_STARTING
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringstartDescriptionClass<? extends RuntimeException>toThrow
-
-
-
Field Detail
-
DEFAULT_MESSAGE_STARTING
static final String DEFAULT_MESSAGE_STARTING
-
-
Element Detail
-
toThrow
Class<? extends RuntimeException> toThrow
- Returns:
- defines class of a
Throwablemay be thrown when get-step returns no valuable data.ATTENTION!!!!!
- Defined class SHOULD have declared public constructor that takes only message string
- Defined class can have declared public constructor that takes message string and
Throwableroot-cause
- Default:
- ru.tinkoff.qa.neptune.core.api.steps.NotPresentException.class
-
-
-
startDescription
String startDescription
- Default:
- "Not present:"
-
-