org.jrubyparser.lexer
Class SyntaxException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jrubyparser.lexer.SyntaxException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
StringTerm.UnterminatedStringException

public class SyntaxException
extends RuntimeException

See Also:
Serialized Form

Nested Class Summary
static class SyntaxException.PID
           
 
Constructor Summary
SyntaxException(SyntaxException.PID pid, SourcePosition position, String message, Object... data)
           
 
Method Summary
 SyntaxException.PID getPid()
           
 SourcePosition getPosition()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SyntaxException

public SyntaxException(SyntaxException.PID pid,
                       SourcePosition position,
                       String message,
                       Object... data)
Method Detail

getPosition

public SourcePosition getPosition()

getPid

public SyntaxException.PID getPid()


Copyright © 2013. All Rights Reserved.