changeset 22316:83d605e7fa57

Add incomplete source exception.
author Christian Humer <christian.humer@oracle.com>
date Tue, 20 Oct 2015 00:14:37 +0200
parents 518f8ead5d01
children 7005216255fa
files truffle/com.oracle.truffle.api.vm/src/com/oracle/truffle/api/vm/IncompleteSourceException.java
diffstat 1 files changed, 19 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/truffle/com.oracle.truffle.api.vm/src/com/oracle/truffle/api/vm/IncompleteSourceException.java	Tue Oct 20 00:14:37 2015 +0200
@@ -0,0 +1,19 @@
+package com.oracle.truffle.api.vm;
+
+import java.io.IOException;
+
+/**
+ * Indicates that the provided source was incomplete and requires further text to be executed.
+ */
+@SuppressWarnings("serial")
+public class IncompleteSourceException extends IOException {
+
+    public IncompleteSourceException() {
+        super();
+    }
+
+    public IncompleteSourceException(Throwable cause) {
+        super(cause);
+    }
+
+}