Package de.uni_trier.wi2.procake.utils.exception
package de.uni_trier.wi2.procake.utils.exception
CAKE Exception Description
-
ClassDescriptionAn
ApplicationError
should be thrown for fatal application errors, e.g.,OutOfMemoryError
.A CakeException extendsException
with additional information.ACakeIOException
is thrown for failures in io components.ACakeSaxException
is thrown for failures in XML components using the sax parser API.TheClassHierarchyConsistencyException
is thrown if an inconsistent class hierarchy could be created.Frequent exception messages, collected centrally in one interface.AIdAlreadyExistsException
should be thrown if an id already exists.TheIllegalEditException
is thrown if aDataClass
is edited after the class is finished.TheIllegalInstantiationException
is thrown when anDataObject
should be created and the correspondingDataClass
is not finished or is abstract.TheInvalidNativeValueException
is thrown when the native value does not match to the specification in the data class.TheInvalidSemanticDescriptorException
is thrown when the requested semantic descriptor of a NESTNodeObject is not a subclass of aggregate class.ANameAlreadyExistsException
should be thrown if a name already exists.TheNoSemanticDescriptorException
is thrown when the requested semantic descriptor of a NESTNodeObject is not set.Exception representing the case that a NESTGraph object is not a de facto resource as required.TheNoSuchAttributeValueException
is thrown when the requested attributeValue does not exists in the aggregate class.TheObjectAlreadyExistsException
is thrown when an object is added that already exists.TheObjectNotFoundException
is thrown when a requested object can not be found.TheClassNotFoundException
if a requestedDataClass
cannot be found.TheIndexOutOfBoundsException
is thrown when the access to an array of values failed because an index is used that is out of bound.TheInvalidTypeException
is thrown when the type does not match to the specification in the data class.A NameAlreadyExistsException should be thrown if a name is not found.TheNoSuchAttributeException
is thrown when the requested attribute does not exists in the aggregate class.TheUncomparableObjectsException
is thrown when two objects should be compared that are not comparable.