net.ontopia.topicmaps.nav2.core
Class NonexistentObjectException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.ontopia.topicmaps.nav2.core.NonexistentObjectException
All Implemented Interfaces:
java.io.Serializable

public class NonexistentObjectException
extends java.lang.RuntimeException

INTERNAL: This exception is thrown when the navigator framework is passed a topic map object ID that does not belong to any actual topic map object. It is thrown by <logic:context> and <tm:lookup parameter="..."> when they are passed object IDs that are invalid.

Since:
2.0
See Also:
Serialized Form

Constructor Summary
NonexistentObjectException(java.lang.String objectid, java.lang.String topicmapid)
          INTERNAL: Constructor with empty error message.
 
Method Summary
 java.lang.String getObjectId()
          INTERNAL: Returns the object id that caused the exception.
 java.lang.String getTopicMapId()
          INTERNAL: Returns the ID of the topic map where the object ID did not resolve.
 
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

NonexistentObjectException

public NonexistentObjectException(java.lang.String objectid,
                                  java.lang.String topicmapid)
INTERNAL: Constructor with empty error message.

Parameters:
objectid - The object ID that did not resolve to an object.
topicmapid - The ID of the topic map this was attempted on.
Method Detail

getObjectId

public java.lang.String getObjectId()
INTERNAL: Returns the object id that caused the exception.


getTopicMapId

public java.lang.String getTopicMapId()
INTERNAL: Returns the ID of the topic map where the object ID did not resolve.



Copyright © 2000-2012 Ontopia.