org.apache.tinkerpop.gremlin

## Annotation Type ExceptionCoverage

-     @Retention(value=RUNTIME)
       @Target(value=TYPE)
       @Repeatable(value=ExceptionCoverageSet.class)
      public @interface ExceptionCoverage

  Defines the list of standard exceptions covered by a test set. Used in conjunction with the exception compliance unit tests to ensure full coverage of defined exceptions in Gremlin Structure. The list of exceptions is defined with by the exception class and the list of methods that generate the exceptions that are covered by the test.
  Author:
    Stephen Mallette (http://stephen.genoprime.com)

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `Class` | `exceptionClass` The exception class from Gremlin Structure that contains the exceptions that are covered by the block of tests.
    `String[]` | `methods` The list of method names from the related `exceptionClass()` that are covered by the tests.

- - ### Element Detail

    - #### exceptionClass

          public abstract Class exceptionClass

      The exception class from Gremlin Structure that contains the exceptions that are covered by the block of tests.

  - - #### methods

          public abstract String[] methods

      The list of method names from the related `exceptionClass()` that are covered by the tests.

Copyright © 2013–2021 Apache Software Foundation. All rights reserved.