Skip to content

convert Runtime exceptions in the CRAM code into CRAMExceptions (also…#1557

Closed
yfarjoun wants to merge 1 commit into
masterfrom
yf_fix_thrown_exceptions
Closed

convert Runtime exceptions in the CRAM code into CRAMExceptions (also…#1557
yfarjoun wants to merge 1 commit into
masterfrom
yf_fix_thrown_exceptions

Conversation

@yfarjoun

Copy link
Copy Markdown
Contributor

… runtime)

In the cram code the code throws an IllegalArgumentException when asked about the bases when a reference was not provided. This PR changes it to a CRAMException to be more informative and consistent.

@tfenne

tfenne commented Jul 14, 2026

Copy link
Copy Markdown
Member

Closing as stale, alongside its near-duplicate #1526. This predates the major rewrite of the CRAM code, and the CRAMReferenceRegion constructor and message it converts no longer exist on current master, so the change no longer applies. Thanks for the contribution!

@tfenne tfenne closed this Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants