org.modeshape.jcr.api.index

## Class InvalidIndexDefinitionException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - org.modeshape.jcr.api.index.InvalidIndexDefinitionException

- All Implemented Interfaces:
    Serializable

      public class InvalidIndexDefinitionException
      extends RuntimeException

  Exception used when one or more index definitions is invalid.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `InvalidIndexDefinitionException(Problems problems)` Constructs a new instance of this class.
    `InvalidIndexDefinitionException(Problems problems, String message)` Constructs a new instance of this class.
    `InvalidIndexDefinitionException(Problems problems, String message, Throwable cause)` Constructs a new instance of this class.
    `InvalidIndexDefinitionException(Problems problems, Throwable cause)` Constructs a new instance of this class.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Problems` | `getProblems()` Get the problems associated with the index definition(s).
    `String` | `toString()`

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

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace`

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

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

- - ### Constructor Detail

    - #### InvalidIndexDefinitionException

          public InvalidIndexDefinitionException(Problems problems)

      Constructs a new instance of this class.
      Parameters:
        `problems` - the validation problems for the index definitions(s)

    - #### InvalidIndexDefinitionException

          public InvalidIndexDefinitionException(Problems problems,
                                         String message)

      Constructs a new instance of this class.
      Parameters:
        `problems` - the validation problems for the index definitions(s)
        `message` - the message

    - #### InvalidIndexDefinitionException

          public InvalidIndexDefinitionException(Problems problems,
                                         Throwable cause)

      Constructs a new instance of this class.
      Parameters:
        `problems` - the validation problems for the index definitions(s)
        `cause` - the cause of this exception

    - #### InvalidIndexDefinitionException

          public InvalidIndexDefinitionException(Problems problems,
                                         String message,
                                         Throwable cause)

      Constructs a new instance of this class.
      Parameters:
        `problems` - the validation problems for the index definitions(s)
        `message` - the message
        `cause` - the cause of this exception

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Throwable`

    - #### getProblems

          public Problems getProblems()

      Get the problems associated with the index definition(s).
      Returns:
        the problems; never null

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.