|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.tmapi.core.TMAPIRuntimeException
org.tmapi.core.ModelConstraintException
org.tmapi.core.TopicInUseException
public class TopicInUseException

Thrown when an attempt is made to remove a Topic which is being used
as a type, as a reifier, or as a role player in an association, or in a scope.
| Constructor Summary | |
|---|---|
TopicInUseException(Topic topic,
java.lang.String msg)
Creates a new TopicInUseException with the specified message. |
|
| Method Summary | |
|---|---|
Topic |
getReporter()
Returns the Construct which has thrown the exception. |
| 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 TopicInUseException(Topic topic,
java.lang.String msg)
topic - The topic which is not removable.msg - The detail message.| Method Detail |
|---|
public Topic getReporter()
ModelConstraintExceptionConstruct which has thrown the exception.
getReporter in class ModelConstraintException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||