org.tmapi.core
Class ModelConstraintException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.tmapi.core.TMAPIRuntimeException
org.tmapi.core.ModelConstraintException
- All Implemented Interfaces:
- java.io.Serializable
- public class ModelConstraintException
- extends TMAPIRuntimeException
Exception thrown when an attempt is made to modify a TopicMapObject
in a way which violates a constraint of the currently enabled
processor model.
Currently, this exception is only thrown by the method
Topic.addSubjectLocator(org.tmapi.core.Locator)
when the XTM 1.0 processing model
is enabled and the topic already has one subjectLocator.
- Author:
- Kal Ahmed (kal@techquila.com)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, 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 |
ModelConstraintException
public ModelConstraintException(TopicMapObject modifiedObject,
java.lang.String msg)
getModifiedObject
public TopicMapObject getModifiedObject()