diff graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/SLException.java @ 13821:b16ec83edc73

Documentation and more refactoring of Simple Language
author Christian Wimmer <christian.wimmer@oracle.com>
date Wed, 29 Jan 2014 20:45:43 -0800
parents 7c418666c6c9
children 158c9ba66e45
line wrap: on
line diff
--- a/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/SLException.java	Wed Jan 29 20:43:28 2014 -0800
+++ b/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/SLException.java	Wed Jan 29 20:45:43 2014 -0800
@@ -22,6 +22,11 @@
  */
 package com.oracle.truffle.sl;
 
+/**
+ * SL does not need a sophisticated error checking and reporting mechanism, so all unexpected
+ * conditions just abort execution. This exception class is used when we abort from within the SL
+ * implementation.
+ */
 public class SLException extends RuntimeException {
     private static final long serialVersionUID = -6799734410727348507L;