ModeShape Distribution 3.2.0.Final

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
 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

ModeShape Distribution 3.2.0.Final

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