org.quasiliteral.syntax
Class NeedMoreException
java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.quasiliteral.syntax.NeedMoreException
- All Implemented Interfaces: 
 - Serializable
 
- public class NeedMoreException
- extends RuntimeException
  
Untamed:  Thrown if the input end sooner than expected, to suggest how much the
 next line of input should be indented.
- Author:
 
  - Mark S. Miller
 
- See Also:
 - Serialized Form
 
 
 
| Fields inherited from class java.lang.Throwable | 
 | 
 
| 
Constructor Summary | 
NeedMoreException(String msg,
                  boolean quoted,
                  int indent,
                  char closer,
                  int closeIndent)
 
          Enabled:  After msg, the remaining parameters are the same as for LineFeeder, with the same | 
 
 
| Methods inherited from class java.lang.Throwable | 
backtrace, eStack, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, javaStack, leaf, printStackTrace, printStackTrace, printStackTrace, printThrowableOn, setStackTrace, toString, unwrap | 
 
 
myQuoted
private final boolean myQuoted
myIndent
private final int myIndent
myCloser
private final char myCloser
myCloseIndent
private final int myCloseIndent
NeedMoreException
public NeedMoreException(String msg,
                         boolean quoted,
                         int indent,
                         char closer,
                         int closeIndent)
- Enabled:  After msg, the remaining parameters are the same as for 
LineFeeder, with the same
 - Parameters:
 msg - is the normal Exception messagequoted - Will this next line be taken as literal text?  If so,
               then it should not be trimmed or indented.  'quoted' is
               true between double quotes, or between quasi-quotes when
               not inside a $ or @ hole.indent - The suggested indentation level for the next line,
               unless the next line begins with closer.closer - The character that would close the most recent unclosed
               openner.closeIndent - The suggested indentation level for the next line
                    if it does begin (after trimming) with closer.
isQuoted
public boolean isQuoted()
- Enabled:
 
 
indent
public int indent()
- Enabled:
 
 
getCloser
public char getCloser()
- Enabled:
 
 
getCloseIndent
public int getCloseIndent()
- Enabled:
 
 
comments?