org.codehaus.groovy.syntax.lexer
Class UnexpectedCharacterException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.codehaus.groovy.GroovyException
              extended byorg.codehaus.groovy.syntax.SyntaxException
                  extended byorg.codehaus.groovy.syntax.lexer.LexerException
                      extended byorg.codehaus.groovy.syntax.lexer.UnexpectedCharacterException
All Implemented Interfaces:
GroovyExceptionInterface, Serializable

public class UnexpectedCharacterException
extends LexerException

See Also:
Serialized Form

Constructor Summary
UnexpectedCharacterException(int line, int column, char c, char[] expected)
           
UnexpectedCharacterException(int line, int column, char c, String message)
           
 
Method Summary
 char getCharacter()
           
 char[] getExpected()
           
 String getMessage()
           
 
Methods inherited from class org.codehaus.groovy.syntax.SyntaxException
getEndColumn, getLine, getSourceLocator, getStartColumn, getStartLine, setSourceLocator
 
Methods inherited from class org.codehaus.groovy.GroovyException
isFatal, setFatal
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

UnexpectedCharacterException

public UnexpectedCharacterException(int line,
                                    int column,
                                    char c,
                                    String message)

UnexpectedCharacterException

public UnexpectedCharacterException(int line,
                                    int column,
                                    char c,
                                    char[] expected)
Method Detail

getCharacter

public char getCharacter()

getExpected

public char[] getExpected()

getMessage

public String getMessage()


Copyright © 2003-2004 The Codehaus. All Rights Reserved.