net.ontopia.topicmaps.core
Class CrossTopicMapException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.ontopia.utils.OntopiaRuntimeException
                  extended by net.ontopia.topicmaps.core.ConstraintViolationException
                      extended by net.ontopia.topicmaps.core.CrossTopicMapException
All Implemented Interfaces:
java.io.Serializable

public class CrossTopicMapException
extends ConstraintViolationException

PUBLIC: Thrown when a topic map object is attempted used in more than a single topic maps.

Extends ConstraintViolationException but does not provide additional methods; this is because the purpose is just to provide a different exception, to allow API users to handle them differently.

Since:
4.0.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.ontopia.utils.OntopiaRuntimeException
cause
 
Constructor Summary
CrossTopicMapException(java.lang.String message)
           
CrossTopicMapException(java.lang.String message, java.lang.Throwable cause)
           
CrossTopicMapException(java.lang.Throwable e)
           
CrossTopicMapException(TMObjectIF tmobject, TMObjectIF target)
           
CrossTopicMapException(TMObjectIF tmobject, TopicMapIF target)
           
 
Method Summary
static void check(TMObjectIF tmobject, TMObjectIF target)
           
static void check(TMObjectIF tmobject, TopicMapIF target)
           
 
Methods inherited from class net.ontopia.utils.OntopiaRuntimeException
getCause, getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CrossTopicMapException

public CrossTopicMapException(TMObjectIF tmobject,
                              TMObjectIF target)

CrossTopicMapException

public CrossTopicMapException(TMObjectIF tmobject,
                              TopicMapIF target)

CrossTopicMapException

public CrossTopicMapException(java.lang.Throwable e)

CrossTopicMapException

public CrossTopicMapException(java.lang.String message)

CrossTopicMapException

public CrossTopicMapException(java.lang.String message,
                              java.lang.Throwable cause)
Method Detail

check

public static void check(TMObjectIF tmobject,
                         TMObjectIF target)

check

public static void check(TMObjectIF tmobject,
                         TopicMapIF target)


Copyright © 2000-2012 Ontopia.