Skip to content

Replace AssertionErrors with RuntimeExceptions #239

Closed
@acogoluegnes

Description

@acogoluegnes

Use e.g. IllegalStateException instead of AssertionError in BlockingCell and other part of the code (when appropriate). The Error family is too dramatic for this class and client code that tries to handle exceptions from BlockingCell could end up dealing with cases it cannot recover from anyway.

Related to #237.

Reverse also the changes from #237, so the NIO loop doesn't actually handle AssertionError coming from elsewhere than BlockingCell.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions