Package groovy.contracts

# Annotation Interface ThrowsIfConditions

@Documented @Retention(RUNTIME) @Target({CONSTRUCTOR,METHOD}) public @interface ThrowsIfConditions
Container annotation for multiple `ThrowsIf` arms on the same target. Synthesized by the compiler from stacked `@ThrowsIf` annotations via `Repeatable`; not normally written by hand.

Since:
  6.0.0
See Also:
  - `ThrowsIf`

- ## Required Element Summary

  Required Elements
  Modifier and Type
  Required Element
  Description
  `ThrowsIf[]`
  `value`
  Returns the repeated exceptional-contract arms declared on the target element.

- ## Element Details

  - ### value

    ThrowsIf[] value
    Returns the repeated exceptional-contract arms declared on the target element.
    Returns:
      the contained `ThrowsIf` annotations