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

rombert pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-compiler-java.git

commit 8a82bef842d66152dc06dbec2c2febc9fc68bf08
Author: Radu Cotescu <[email protected]>
AuthorDate: Wed Mar 15 16:57:00 2017 +0000

    SLING-6639 - Avoid split packages in the HTL Engine and HTL Java Compiler 
bundles
    
    * moved SightlyException into the java-compiler, but made it extend 
directly RuntimeException
    * moved ResourceResolution into the 
org.apache.sling.scripting.sightly.engine package
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1787079 
13f79535-47bb-0310-9956-ffa450edef68
---
 .../{package-info.java => SightlyException.java}   | 23 +++++++++++++++++++---
 .../sling/scripting/sightly/package-info.java      |  2 +-
 2 files changed, 21 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/sling/scripting/sightly/package-info.java 
b/src/main/java/org/apache/sling/scripting/sightly/SightlyException.java
similarity index 71%
copy from src/main/java/org/apache/sling/scripting/sightly/package-info.java
copy to src/main/java/org/apache/sling/scripting/sightly/SightlyException.java
index 96dca47..16111ee 100644
--- a/src/main/java/org/apache/sling/scripting/sightly/package-info.java
+++ b/src/main/java/org/apache/sling/scripting/sightly/SightlyException.java
@@ -14,8 +14,25 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  
******************************************************************************/
-
-@Version("1.0.1")
 package org.apache.sling.scripting.sightly;
 
-import org.osgi.annotation.versioning.Version;
+/**
+ * Exceptions caused by the HTL engine.
+ */
+public class SightlyException extends RuntimeException {
+
+    public SightlyException() {
+    }
+
+    public SightlyException(String message) {
+        super(message);
+    }
+
+    public SightlyException(String message, Throwable cause) {
+        super(message, cause);
+    }
+
+    public SightlyException(Throwable cause) {
+        super(cause);
+    }
+}
diff --git a/src/main/java/org/apache/sling/scripting/sightly/package-info.java 
b/src/main/java/org/apache/sling/scripting/sightly/package-info.java
index 96dca47..3a9028f 100644
--- a/src/main/java/org/apache/sling/scripting/sightly/package-info.java
+++ b/src/main/java/org/apache/sling/scripting/sightly/package-info.java
@@ -15,7 +15,7 @@
  * limitations under the License.
  
******************************************************************************/
 
-@Version("1.0.1")
+@Version("1.1.0")
 package org.apache.sling.scripting.sightly;
 
 import org.osgi.annotation.versioning.Version;

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to