keith-turner commented on PR #3671:
URL: https://github.com/apache/accumulo/pull/3671#issuecomment-1686989152

   @ctubbsii I experimented with adding a new checked exception to the code to 
see what would happen and it did not compile.  Below is an example.
   
   ```java
   void method1() throws IOException {
      // some code that throws IOException
      try{
          // if a new code is added that throws a new checked exception that is 
not IOException then this code will not compile because the throw e later in 
the code can not compile.  For example the following will not compile
        if(true) throw new AccumuloException();
      } catch(Exception e) {
          log.error(e);
         throw e;
      }
       
   }
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to