org.infinispan.schematic

## Interface SchemaLibrary.Problem

- All Known Subinterfaces:
    SchemaLibrary.MismatchedTypeProblem
  All Known Implementing Classes:
    ValidationProblem, ValidationTypeMismatchProblem
  Enclosing interface:
    SchemaLibrary

      public static interface SchemaLibrary.Problem

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Throwable` | `getCause()` Get the exception that was the cause of this problem, if there was an exception.
    `Path` | `getPath()` The path to the field about which this problem applies.
    `String` | `getReason()` Get the message describing the problem.
    `SchemaLibrary.ProblemType` | `getType()` Get the type of problem.

- - ### Method Detail

    - #### getType

          SchemaLibrary.ProblemType getType()

      Get the type of problem.
      Returns:
        the type; never null

    - #### getPath

          Path getPath()

      The path to the field about which this problem applies.
      Returns:
        the path; never null

    - #### getReason

          String getReason()

      Get the message describing the problem.
      Returns:
        the message; never null

    - #### getCause

          Throwable getCause()

      Get the exception that was the cause of this problem, if there was an exception.
      Returns:
        the exception; may be null

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