|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
net.ontopia.topicmaps.schema.core.SchemaViolationException
public class SchemaViolationException
PUBLIC: This exception is thrown when topic maps violate their schemas.
| Constructor Summary | |
|---|---|
SchemaViolationException(java.lang.String message,
TMObjectIF container,
java.lang.Object offender,
ConstraintIF constraint)
Creates new exception. |
|
| Method Summary | |
|---|---|
ConstraintIF |
getConstraint()
PUBLIC: Returns the constraint that was violated. |
TMObjectIF |
getContainer()
PUBLIC: Returns the owner of the offending object. |
java.lang.Object |
getOffender()
PUBLIC: Returns the object that violated the schema. |
| 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 |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SchemaViolationException(java.lang.String message,
TMObjectIF container,
java.lang.Object offender,
ConstraintIF constraint)
message - A message describing the nature of the violation.offender - The object that violated the schema.container - The container of the offending object.constraint - The schema constraint that was violated.| Method Detail |
|---|
public TMObjectIF getContainer()
public java.lang.Object getOffender()
public ConstraintIF getConstraint()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||