OSDN Git Service

fix: add setter method to CrashHandler
authorhizumiaoba <56146205+hizumiaoba@users.noreply.github.com>
Wed, 4 May 2022 10:00:31 +0000 (19:00 +0900)
committerhizumiaoba <56146205+hizumiaoba@users.noreply.github.com>
Wed, 4 May 2022 10:00:31 +0000 (19:00 +0900)
src/com/ranfa/lib/handler/CrashHandler.java

index a9dc346..9a0acb8 100644 (file)
@@ -150,10 +150,18 @@ public class CrashHandler {
                        return description;
                }
                
+               public void setDescription(String desc) {
+                       this.description = desc;
+               }
+               
                public Throwable getThrowable() {
                        return e;
                }
                
+               public void setCause(Throwable e) {
+                       this.e = e;
+               }
+               
                public int getEstimateExitCode() {
                        return estimateExitCode;
                }