Claudenw commented on code in PR #233:
URL: https://github.com/apache/creadur-rat/pull/233#discussion_r1555362330


##########
apache-rat-core/src/main/java/org/apache/rat/api/RatException.java:
##########
@@ -19,9 +19,20 @@
 package org.apache.rat.api;
 
 public class RatException extends Exception {
+    
+    public static RatException asRatException(Exception e) {
+        return e instanceof RatException ? (RatException) e : new 
RatException(e);
+    }
 
     private static final long serialVersionUID = 4940711222435919034L;
 
+    public static RatException makeInstance(Exception e) {

Review Comment:
   remove this infavor of the `asRatException` method



-- 
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