|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception i3.dragos.exception.DragosException i3.dragos.exception.SchemaCheckException
public class SchemaCheckException
A SchemaCheckException
is thrown when the
SchemaChecker
finds an inconsistency.
Keep in mind that the entity class identified as "problem"
may not be the only possible source of the error (e.g. in cases of
inheritance cycles, which are not allowed), but merely the entity
class where the underlying inconsistency was detected first.
Constructor Summary | |
---|---|
SchemaCheckException(java.lang.String message)
Constructs a new exception with the given message. |
|
SchemaCheckException(java.lang.String message,
GraphEntityClass problem)
Constructs a new exception with the given message. |
|
SchemaCheckException(java.lang.String message,
java.lang.Throwable throwable)
Constructs a new exception with the given message which is wrapped around an exception. |
|
SchemaCheckException(java.lang.String message,
java.lang.Throwable throwable,
GraphEntityClass problem)
Constructs a new exception with the given message which is wrapped around an exception. |
Method Summary | |
---|---|
GraphEntityClass |
getProblem()
Returns the GraphEntityClass of the entity class that failed the check (may be null ). |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SchemaCheckException(java.lang.String message)
message
- A message describing the reason of the exception.public SchemaCheckException(java.lang.String message, GraphEntityClass problem)
message
- A message describing the reason of the exception.problem
- the GraphEntityClass of the entity class that failed the check.public SchemaCheckException(java.lang.String message, java.lang.Throwable throwable)
message
- A message describing the reason of the exception.throwable
- The exception.public SchemaCheckException(java.lang.String message, java.lang.Throwable throwable, GraphEntityClass problem)
message
- A message describing the reason of the exception.throwable
- The exception.problem
- the GraphEntityClass of the entity class that failed the check.Method Detail |
---|
public GraphEntityClass getProblem()
null
).
null
).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |