org.tm4j.topicmap
Class DuplicateTopicException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.tm4j.topicmap.TopicMapProcessingException
              extended byorg.tm4j.topicmap.DuplicateTopicException
All Implemented Interfaces:
java.io.Serializable

public class DuplicateTopicException
extends TopicMapProcessingException

An exception thrown when trying to add a topic to a topic map which is determined to be a duplicate of a topic already in the map.

Author:
Kal Ahmed, Harald Kuhn
See Also:
Topic, TopicMap, Serialized Form

Constructor Summary
DuplicateTopicException()
          Constructs a new duplicate topic exception without a detail message.
DuplicateTopicException(java.lang.Exception cause)
           
DuplicateTopicException(java.lang.String info)
          Constructs a new duplicate topic exception with the specified detail message.
DuplicateTopicException(java.lang.String msg, java.lang.Exception cause)
           
 
Methods inherited from class org.tm4j.topicmap.TopicMapProcessingException
getCause
 
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
 

Constructor Detail

DuplicateTopicException

public DuplicateTopicException()
Constructs a new duplicate topic exception without a detail message.


DuplicateTopicException

public DuplicateTopicException(java.lang.String info)
Constructs a new duplicate topic exception with the specified detail message.

Parameters:
info - The detail message to be associated with this exception.

DuplicateTopicException

public DuplicateTopicException(java.lang.Exception cause)

DuplicateTopicException

public DuplicateTopicException(java.lang.String msg,
                               java.lang.Exception cause)