You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "lokendra005 (via GitHub)" <gi...@apache.org> on 2024/08/11 21:03:20 UTC

[PR] Removed Instance field from ExceptionHandlers.java [gravitino]

lokendra005 opened a new pull request, #4473:
URL: https://github.com/apache/gravitino/pull/4473

   <!--
   1. Title: [#<issue>] <type>(<scope>): <subject>
      Examples:
        - "[#123] feat(operator): support xxx"
        - "[#233] fix: check null before access result in xxx"
        - "[MINOR] refactor: fix typo in variable name"
        - "[MINOR] docs: fix typo in README"
        - "[#255] test: fix flaky test NameOfTheTest"
      Reference: https://www.conventionalcommits.org/en/v1.0.0/
   2. If the PR is unfinished, please mark this PR as draft.
   -->
   
   ### What changes were proposed in this pull request?
   
   The changes involve refactoring the exception handling mechanism in the ExceptionHandlers class to improve modularity and consistency.
   
   The refactoring includes:
   Introducing specific handlers for different exception types (e.g., PartitionExceptionHandler, TableExceptionHandler, etc.).
   
   ### Why are the changes needed?
   
   Improve Modularity: By separating exception handling logic into distinct handler classes, the code becomes more modular and easier to maintain.
   
   Fix: #1895 
   
   ### Does this PR introduce _any_ user-facing change?
   
     NO
   
   ### How was this patch tested?
   
   Reviewing Exception Handlers: Ensured that each specific exception handler correctly processes exceptions and returns the appropriate responses.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Removed Instance field from ExceptionHandlers.java [gravitino]

Posted by "lokendra005 (via GitHub)" <gi...@apache.org>.
lokendra005 closed pull request #4473: Removed Instance field from ExceptionHandlers.java
URL: https://github.com/apache/gravitino/pull/4473


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Removed Instance field from ExceptionHandlers.java [gravitino]

Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao commented on PR #4473:
URL: https://github.com/apache/gravitino/pull/4473#issuecomment-2283007684

   @lokendra005 The PR here even cannot be built, have you built it locally when you submit a PR? If you really want to contribute, it would be better you can make the PR valid at least, thanks.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org