|
||||||||||
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.GraphPoolCheckException
public class GraphPoolCheckException
A SchemaCheckException
is thrown when the
GraphPoolChecker
finds an inconsistency.
Keep in mind that the entity identified as "problem"
may not be the only possible source of the error (e.g. in cases of
wrong cardinalities), but merely the entity where the underlying
inconsistency was detected first.
Constructor Summary | |
---|---|
GraphPoolCheckException(java.lang.String message)
Constructs a new exception with the given message. |
|
GraphPoolCheckException(java.lang.String message,
GraphEntity problem)
Constructs a new exception with the given message. |
|
GraphPoolCheckException(java.lang.String message,
java.lang.Throwable throwable)
Constructs a new exception with the given message which is wrapped around an exception. |
|
GraphPoolCheckException(java.lang.String message,
java.lang.Throwable throwable,
GraphEntity problem)
Constructs a new exception with the given message which is wrapped around an exception. |
Method Summary | |
---|---|
GraphEntity |
getProblem()
Returns the GraphEntity of the entity 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 GraphPoolCheckException(java.lang.String message)
message
- A message describing the reason of the exception.public GraphPoolCheckException(java.lang.String message, GraphEntity problem)
message
- A message describing the reason of the exception.problem
- the GraphEntity of the entity that failed the check.public GraphPoolCheckException(java.lang.String message, java.lang.Throwable throwable)
message
- A message describing the reason of the exception.throwable
- The exception.public GraphPoolCheckException(java.lang.String message, java.lang.Throwable throwable, GraphEntity problem)
message
- A message describing the reason of the exception.throwable
- The exception.problem
- the GraphEntity of the entity that failed the check.Method Detail |
---|
public GraphEntity getProblem()
null
).
null
).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |