@Deprecated public class SchemaViolationException extends Exception
Modifier and Type | Field and Description |
---|---|
protected ConstraintIF |
constraint
Deprecated.
|
protected TMObjectIF |
container
Deprecated.
|
protected Object |
offender
Deprecated.
|
Constructor and Description |
---|
SchemaViolationException(String message,
TMObjectIF container,
Object offender,
ConstraintIF constraint)
Deprecated.
Creates new exception.
|
Modifier and Type | Method and Description |
---|---|
ConstraintIF |
getConstraint()
Deprecated.
PUBLIC: Returns the constraint that was violated.
|
TMObjectIF |
getContainer()
Deprecated.
PUBLIC: Returns the owner of the offending object.
|
Object |
getOffender()
Deprecated.
PUBLIC: Returns the object that violated the schema.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected TMObjectIF container
protected Object offender
protected ConstraintIF constraint
public SchemaViolationException(String message, TMObjectIF container, 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.public TMObjectIF getContainer()
public Object getOffender()
public ConstraintIF getConstraint()