Versions Compared

Key

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

...

  • CPSValidationException
    • ModelValidationException
      • SpecificException1
      • SpecificException2
    • DataValidationException
      • SpecificException3
      • SpecificException4
    • PathValidationException
      • SpecificException5

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



Expand
titleStudy of 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


...