Skip to content

Update TableDeleteException to use TableId type#6323

Open
ddanielr wants to merge 1 commit intoapache:mainfrom
ddanielr:feature/updateException
Open

Update TableDeleteException to use TableId type#6323
ddanielr wants to merge 1 commit intoapache:mainfrom
ddanielr:feature/updateException

Conversation

@ddanielr
Copy link
Copy Markdown
Contributor

The TableDeleteException was only used in places where a tableId was being passed into the Exception.

Updates the Exception constructor to accept a TableId object.

NOTE: this changes the public API and will require a deprecation in 2.1.x or a 3.x deprecation release.

I could also pull this change back to the 2.1 branch and just add a new constructor method and change the string constructor to use a TableId.of() call.

The TableDeleteException was only used in places where a tableId was
being passed into the Exception.

Updates the Exception constructor to accept a TableId object.

NOTE: this changes the public API and will require a deprecation in
2.1.x or a 3.x deprecation release.
@ddanielr ddanielr added this to the 4.0.0 milestone Apr 17, 2026
Copy link
Copy Markdown
Contributor

@keith-turner keith-turner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this changes the public API and will require a deprecation in 2.1.x or a 3.x deprecation release.

Could leave the String constructors in 4.0 and deprecate them in 4.0 . Then could do it all in single commit. Its probably ok to drop them in 4.0 w/o deprecation, these are probably not used outside of accumulo code. If dropping w/o deprecation could always add them back in bug fix release like 4.0.1 as deprecated if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants