org.apache.tinkerpop.gremlin.structure

## Class Element.Exceptions

- java.lang.Object
- - org.apache.tinkerpop.gremlin.structure.Element.Exceptions

- Direct Known Subclasses:
    Edge.Exceptions
  Enclosing interface:
    Element

      public static class Element.Exceptions
      extends Object

  Common exceptions to use with an element.

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `Exceptions()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static IllegalArgumentException` | `labelCanNotBeAHiddenKey(String label)`
    `static IllegalArgumentException` | `labelCanNotBeEmpty()`
    `static IllegalArgumentException` | `labelCanNotBeNull()`
    `static IllegalStateException` | `propertyAdditionNotSupported()`
    `static IllegalArgumentException` | `providedKeyValuesMustBeAMultipleOfTwo()`
    `static IllegalArgumentException` | `providedKeyValuesMustHaveALegalKeyOnEvenIndices()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Exceptions

          protected Exceptions()

  - ### Method Detail

    - #### providedKeyValuesMustBeAMultipleOfTwo

          public static IllegalArgumentException providedKeyValuesMustBeAMultipleOfTwo()

    - #### providedKeyValuesMustHaveALegalKeyOnEvenIndices

          public static IllegalArgumentException providedKeyValuesMustHaveALegalKeyOnEvenIndices()

    - #### propertyAdditionNotSupported

          public static IllegalStateException propertyAdditionNotSupported()

    - #### labelCanNotBeNull

          public static IllegalArgumentException labelCanNotBeNull()

    - #### labelCanNotBeEmpty

          public static IllegalArgumentException labelCanNotBeEmpty()

    - #### labelCanNotBeAHiddenKey

          public static IllegalArgumentException labelCanNotBeAHiddenKey(String label)

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