Files
CoreRasurae e828acf175
CI / lint (push) Successful in 1m32s
CI / typecheck (push) Successful in 1m38s
CI / lint (pull_request) Successful in 1m30s
CI / typecheck (pull_request) Successful in 1m30s
CI / behave (3.11) (pull_request) Successful in 1m39s
CI / behave (3.12) (pull_request) Successful in 1m39s
CI / build (pull_request) Successful in 1m29s
CI / behave (3.13) (pull_request) Successful in 1m39s
CI / behave (3.11) (push) Successful in 1m39s
CI / behave (3.12) (push) Successful in 1m41s
CI / behave (3.13) (push) Successful in 1m37s
CI / build (push) Successful in 1m30s
feat: Initial version of CleverRDFLib
ISSUES CLOSED: #1
2025-12-19 22:26:14 +00:00

52 lines
2.0 KiB
Gherkin

Feature: Exception Handling
As a developer using CleverRDFLib
I want to handle exceptions properly
So that I can understand and respond to errors in the library
Scenario: Create exception with non-exception cause
Given I create a CleverRDFLibException with a non-exception cause
When I access the exception message
Then I should receive the message with the cause appended
Scenario: Access exception cause
Given I create a CleverRDFLibException with an exception cause
When I call get_cause on the exception
Then I should receive the underlying exception
Scenario: Create ClassNodeNotFoundException
Given I create a ClassNodeNotFoundException
Then the exception should be a CleverRDFLibException
Scenario: Create PropertyDomainObjectNotFoundException
Given I create a PropertyDomainObjectNotFoundException
Then the exception should be a CleverRDFLibException
Scenario: Create PropertyRangeObjectNotFoundException
Given I create a PropertyRangeObjectNotFoundException
Then the exception should be a CleverRDFLibException
Scenario: Create GraphLoaderHandlerInsertionFailed
Given I create a GraphLoaderHandlerInsertionFailed exception
Then the exception should be a CleverRDFLibException
Scenario: Create ClassHierarchyBuildException
Given I create a ClassHierarchyBuildException
Then the exception should be a CleverRDFLibException
Scenario: Create ClassConversionException
Given I create a ClassConversionException
Then the exception should be a CleverRDFLibException
Scenario: Create PropertyConversionException
Given I create a PropertyConversionException
Then the exception should be a CleverRDFLibException
Scenario: Create DataTypeConversionException
Given I create a DataTypeConversionException
Then the exception should be a CleverRDFLibException
Scenario: Create InconsistentClassHierarchyException
Given I create an InconsistentClassHierarchyException
Then the exception should be a CleverRDFLibException