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

dklco pushed a commit to branch dklco/form-framework
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-app-cms.git

commit 0d85833a3d2b56f5a06f6bfcbcc064de700e00c1
Author: Dan Klco <[email protected]>
AuthorDate: Sat Jul 27 00:44:00 2019 -0700

    Adding a cause to the FormException constructor options
---
 .../org/apache/sling/cms/reference/forms/FormException.java    | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git 
a/reference/src/main/java/org/apache/sling/cms/reference/forms/FormException.java
 
b/reference/src/main/java/org/apache/sling/cms/reference/forms/FormException.java
index c6ca77b..37ada2c 100644
--- 
a/reference/src/main/java/org/apache/sling/cms/reference/forms/FormException.java
+++ 
b/reference/src/main/java/org/apache/sling/cms/reference/forms/FormException.java
@@ -32,4 +32,14 @@ public class FormException extends Exception {
         super(message);
     }
 
+    /**
+     * Construct a new FormException with only a message
+     * 
+     * @param message the message to indicate the cause of the exception
+     * @param cause   the cause of this exception
+     */
+    public FormException(String message, Throwable cause) {
+        super(message, cause);
+    }
+
 }

Reply via email to