All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jtelos.AttributeNotInKBException

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

public class AttributeNotInKBException
extends TelosException
Thrown when a search is performed for an attribute using its full Telos name (as defined in this API) as a search key. It is thrown by the attribute(String) method in the interface KB. For naming conventions see the telosName() method in the interface NamedObject.

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:
Attribute, NamedObject

Constructor Index

 o AttributeNotInKBException(String, String)
Thrown when there are no attribute matching the telosName parameter in the KB.

Constructors

 o AttributeNotInKBException
 public AttributeNotInKBException(String telosName,
                                  String kbName)
Thrown when there are no attribute matching the telosName parameter in the KB. Returns message:

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


All Packages  Class Hierarchy  This Package  Previous  Next  Index