    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class jtelos.IndividualNotInKBException

    java.lang.Object
       |
       +----java.lang.Throwable
               |
               +----java.lang.Exception
                       |
                       +----java.lang.RuntimeException
                               |
                               +----jtelos.TelosException
                                       |
                                       +----jtelos.IndividualNotInKBException

public class IndividualNotInKBException
extends TelosException

Thrown when a search is performed for an individual using its Telos name as a search key. It is thrown by the `individual(String)` method in the interface `KB`.

Note that since it is a `RuntimeException` it doesn't require a `throws` clause in methods that throw it, nor `try/catch` statements around invocations of those methods. Nonetheless, it should be handled.

See Also:
  NamedObject, Individual

##

IndividualNotInKBException(String, String)
  Thrown when there are no individual matching the `telosName` in the KB.

##

IndividualNotInKBException

     public IndividualNotInKBException(String telosName,
                                       String kbName)

  Thrown when there are no individual matching the `telosName` in the KB. Returns message:

  "Couldn't find individual with name: <`telosName`> in <`kbName`>".

    All Packages  Class Hierarchy  This Package  Previous  Next  Index