net.ontopia.topicmaps.nav2.core
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:
- Serialized Form
Method Summary |
String |
getObjectId()
INTERNAL: Returns the object id that caused the exception. |
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 |
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.
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.
Copyright © 2000-2012 Ontopia.