This is an automated email from the ASF dual-hosted git repository.

wuweijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere-elasticjob.git


The following commit(s) were added to refs/heads/master by this push:
     new 19e2a28  add JobSystemException Constructor (#2026)
19e2a28 is described below

commit 19e2a28d5968a1687fbeb3717686a754e47222fb
Author: verysu <[email protected]>
AuthorDate: Sun Dec 26 18:49:45 2021 +0800

    add JobSystemException Constructor (#2026)
    
    fixed Script Job throw Exception stack was ignored
---
 .../shardingsphere/elasticjob/infra/exception/JobSystemException.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/elasticjob-infra/elasticjob-infra-common/src/main/java/org/apache/shardingsphere/elasticjob/infra/exception/JobSystemException.java
 
b/elasticjob-infra/elasticjob-infra-common/src/main/java/org/apache/shardingsphere/elasticjob/infra/exception/JobSystemException.java
index 08d6d0f..402fcf9 100644
--- 
a/elasticjob-infra/elasticjob-infra-common/src/main/java/org/apache/shardingsphere/elasticjob/infra/exception/JobSystemException.java
+++ 
b/elasticjob-infra/elasticjob-infra-common/src/main/java/org/apache/shardingsphere/elasticjob/infra/exception/JobSystemException.java
@@ -28,6 +28,10 @@ public final class JobSystemException extends 
RuntimeException {
         super(String.format(errorMessage, args));
     }
     
+    public JobSystemException(final String errorMessage, final Throwable 
cause) {
+        super(errorMessage, cause);
+    }
+    
     public JobSystemException(final Throwable cause) {
         super(cause);
     }

Reply via email to