org.codehaus.groovy.syntax.lexer
Class UnexpectedCharacterException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.codehaus.groovy.GroovyException
                    |
                    +--org.codehaus.groovy.syntax.SyntaxException
                          |
                          +--org.codehaus.groovy.syntax.lexer.LexerException
                                |
                                +--org.codehaus.groovy.syntax.lexer.UnexpectedCharacterException
All Implemented Interfaces:
Serializable

public class UnexpectedCharacterException
extends LexerException

See Also:
Serialized Form

Constructor Summary
UnexpectedCharacterException(int line, int column, char c, char[] expected)
           
 
Method Summary
 char getCharacter()
           
 char[] getExpected()
           
 String getMessage()
           
 
Methods inherited from class org.codehaus.groovy.syntax.lexer.LexerException
getColumn, getLine
 
Methods inherited from class org.codehaus.groovy.syntax.SyntaxException
getSourceLocator, setSourceLocator
 
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,
                                    char[] expected)
Method Detail

getCharacter

public char getCharacter()

getExpected

public char[] getExpected()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2003 The Codehaus. All Rights Reserved.