Skip to content

DivisionByZeroException Not Thrown Correctly #1294

Description

@fzhwenzhou

When executing integer divisions by zero, it won't throw DivisionByZeroException correctly. Instead, the program will stall. Trying to catch this exception also won't work. A workaround is to manually check the divisor, and if it is zero, throw the exception out manually. But I think it should be a minor effort fixing the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions