jcreek.representation
Class NoSuchEntityException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjcreek.util.CreekException
              extended byjcreek.representation.NoSuchEntityException
All Implemented Interfaces:
java.io.Serializable

public class NoSuchEntityException
extends CreekException

hrown when attempting to reference an entity by a string and this string does not identify an entity in the current knowledge model.

Version:
1.0
Author:
Frode Sørmo
See Also:
Serialized Form

Constructor Summary
NoSuchEntityException(java.lang.String relationName)
          Creates a new NoSuchRelationTypeException with the given string.
 
Method Summary
 java.lang.String getRelationName()
          The string supplied as a relation type name for which there is no matching relation type in the current knowledge model.
 
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

NoSuchEntityException

public NoSuchEntityException(java.lang.String relationName)
Creates a new NoSuchRelationTypeException with the given string.

Method Detail

getRelationName

public java.lang.String getRelationName()
The string supplied as a relation type name for which there is no matching relation type in the current knowledge model.



Created at IDI, NTNU by the Artificial Intelligence and Learning group