jcreek.representation
Class NoSuchRelationTypeException

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

public class NoSuchRelationTypeException
extends CreekException

Title: NoSuchRelationTypeException Description: Thrown when attempting to reference a relation type by a string and this string does not identify a relation type in the current knowledge model.

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

Constructor Summary
NoSuchRelationTypeException(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

NoSuchRelationTypeException

public NoSuchRelationTypeException(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