All Packages Class Hierarchy This Package Previous Next Index
Class jtelos.ChildrenExistException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----java.lang.RuntimeException
|
+----jtelos.ChildrenExistException
- public class ChildrenExistException
- extends RuntimeException
This exception is thrown when a Telos operation is attempted on an
individual, but because the individual has children, the operation
is illegal and thus aborted. This can occurs in the
removeIndividual(Individual)
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:
- removeAndDeleteProposition, Individual
-
ChildrenExistException(String, String)
- Thrown when an attempted operation is illegal because a Telos
individual has children.
ChildrenExistException
public ChildrenExistException(String telosName,
String message)
- Thrown when an attempted operation is illegal because a Telos
individual has children.
- Parameters:
- telosName - the name of the individual that has children
- message - an optional message (could be "").
All Packages Class Hierarchy This Package Previous Next Index