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:
- GroovyExceptionInterface, java.io.Serializable
- public class UnexpectedCharacterException
- extends LexerException
- See Also:
- Serialized Form
Field Summary |
private char |
c
|
private char[] |
expected
|
private java.lang.String |
message
|
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
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 |
c
private char c
expected
private char[] expected
message
private java.lang.String message
UnexpectedCharacterException
public UnexpectedCharacterException(int line,
int column,
char c,
java.lang.String message)
UnexpectedCharacterException
public UnexpectedCharacterException(int line,
int column,
char c,
char[] expected)
getCharacter
public char getCharacter()
getExpected
public char[] getExpected()
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class SyntaxException
Copyright © 2003-2005 The Codehaus. All Rights Reserved.