tecgraf.javautils.jexpression.exception
Class JExpressionSyntaxErrorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by tecgraf.javautils.jexpression.exception.JExpressionException
              extended by tecgraf.javautils.jexpression.exception.JExpressionSyntaxErrorException
All Implemented Interfaces:
Serializable

public class JExpressionSyntaxErrorException
extends JExpressionException

Exceção que sinaliza erro de sintaxe. Essa exceção é lançada durante o processo de parsing feito pelo JParser.

Author:
Tecgraf
See Also:
Serialized Form

Constructor Summary
JExpressionSyntaxErrorException(String msg, int lineNumber)
          Construtor.
 
Method Summary
 int getLineNumber()
          Número da linha do erro de sintaxe.
 String getMessage()
          
 
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

JExpressionSyntaxErrorException

public JExpressionSyntaxErrorException(String msg,
                                       int lineNumber)
Construtor.

Parameters:
msg - mensagem.
lineNumber - número da linha.
Method Detail

getLineNumber

public int getLineNumber()
Número da linha do erro de sintaxe.

Returns:
número da linha.

getMessage

public String getMessage()

Overrides:
getMessage in class Throwable


Copyright © 2007–2014 Tecgraf/PUC-Rio. All rights reserved.