ariatosca-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ran Ziv (JIRA)" <>
Subject [jira] [Created] (ARIA-182) Errors hierarchy and consistency
Date Wed, 03 May 2017 11:29:04 GMT
Ran Ziv created ARIA-182:

             Summary: Errors hierarchy and consistency
                 Key: ARIA-182
             Project: AriaTosca
          Issue Type: Story
            Reporter: Ran Ziv
            Priority: Minor

Error classes are currently disorganized.

1) Errors should all be under {{}} for their package / relevant part of the code,
which is mostly the case but not all over

2) Inheritance is currently somewhat messy, e.g. orchestrator errors under {{orchestrator/}}
don't inherit from {{OrchestratorError}} but rather from {{AriaError}}; There are also both
{{AriaError}} and {{AriaException}}, and different classes inherit from each.

3) Suffix of error classes is sometimes {{Error}} and sometimes {{Exception}}. This should
be consistently {{Error}}. Note that there can be cases where it's actually an Exception,
but at the moment this is widely misused.

This message was sent by Atlassian JIRA

View raw message