Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

https://gerrit.nordix.org/#/c/onap/ccsdk/features/+/6477/

Java Doc


External Resources

https://wiki.onap.org/display/DW/Data+Representation

...

 These are the kind of exceptions thrown by the system currently.

Expand
titleStudy of ODL exceptions


#ClassDefinition SourceProposed Exception Class
1

YangValidationException

Unchecked exception thrown if yang definition is not valid according to {YangModelBasicValidationListener}

ODL Yang Parser (Yang Model)YangValidationException
2

YangParseException

Unchecked exception thrown if unable to parse yang

ODL Yang Parser (Yang Model)YangValidationException
3

YangSyntaxErrorException

Exception thrown if yang syntax is invalid

ODL Yang Parser (Yang Model)YangValidationException
4

DataValidationException

Exception thrown when a the specified data is invalid

ODL Yang Parser (Yang Data)YangDataValidationException
5

LeafRefDataValidationFailedException


ODL Yang Parser (Yang Data)YangDataValidationException
6LeafRefPathSyntaxErrorException
ODL Yang Parser (Yang Data)YangDataValidationException
7

ModifiedNodeDoesNotExistException

Exception thrown when a proposed change fails validation before being applied into the Data Tree because tree node which child nodes are modified or written did not exist when transaction started and still does not exists when transaction is processed. Note if node existed in first place and was removed by other transaction, thrown exception should be ConflictingModificationAppliedException.

ODL Yang Parser (Yang Data)NodeDoesNotExistException
8

ConflictingModificationAppliedException

Exception thrown when a proposed change fails validation before being applied into the Data Tree because the Data Tree has been modified in way that a conflicting node is present.

ODL Yang Parser (Yang Data)DataModificationException
9

MissingSchemaSourceException

Exception thrown when a the specified schema source is not available.

ODL Yang Parser (Yang Model)MissingSchemaSourceException
10

SchemaResolutionException

Exception thrown when a Schema Source fails to resolve.

ODL Yang Parser (Yang Model)SchemaSourceException
11

SchemaValidationFailedException


ODL Yang Parser (Yang Model)SchemaValidationException
12

OperationFailedException

A general base exception for an operation failure.

?
13AlreadyExistsException
Database duplicates

ModelAlreadyExistsException

DataAlreadyExistsException

14IO Exception

N/A



Proposed grouping of interface methods:

Interface Name

Interface Definition

 Interface Capabilities

Model InterfaceBehavior interface that represents cps modules.
  1. Create a module set
  2. Add modules to a module set
  3. Read all modules
  4. Validate modules
  5. Upgrade a module set (individual module upgrade)
  6. Create a module set and validate it against a module reference (using a separate SPI)
Data Interface

Behavior interface that represents CPS data.

  1. Create a DataNode under an anchor.
  2. Delete a dataspace
  3. Create a dataspace
  4. Create an anchor
  5. Read an anchor of a particular DataNode
  6. Read an anchor in a namespace and dataspace
  7. Read all anchors for one dataspace
  8. Delete an anchor for a namespace in a dataspace
  9. Associate an anchor to a module set
  10. Associate an dataspace to a anchor
  11. Read all dataspaces
  12. Create a DataNode under another DataNode.
  13. Associate an a DataNode to a anchor
Query InterfaceProvides the capability to query CPS data using XPaths.
  1. Read the parent of a DataNode that matches an xpath expression
  2. Read all DataNodes under an anchor point
  3. Read the anchor of a DataNode
  4. Read all DataNodes that match a schemaNodeIdentifier

Java Doc

View file
namejavadoc.zip
height150

...