Class NonexistentObjectException

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

public class NonexistentObjectException extends 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:
  • Constructor Details

    • NonexistentObjectException

      public NonexistentObjectException(String objectid, 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 Details

    • getObjectId

      public String getObjectId()
      INTERNAL: Returns the object id that caused the exception.
    • getTopicMapId

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