tecgraf.javautils.parsers.exception
Class MalformedInputException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by tecgraf.javautils.parsers.exception.MalformedInputException
All Implemented Interfaces:
Serializable

public class MalformedInputException
extends Exception

Exceção de má formação no parser.

Author:
Tecgraf
See Also:
Serialized Form

Constructor Summary
MalformedInputException(int lineNumber, String message)
          Construtor.
MalformedInputException(int lineNumber, String message, Throwable cause)
          Construtor.
MalformedInputException(int lineNumber, Throwable cause)
          Construtor.
 
Method Summary
 int getLineNumber()
          Consulta o número da linha
 
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

MalformedInputException

public MalformedInputException(int lineNumber,
                               String message)
Construtor.

Parameters:
lineNumber - linha
message - mensagem

MalformedInputException

public MalformedInputException(int lineNumber,
                               Throwable cause)
Construtor.

Parameters:
lineNumber - linha
cause - causa

MalformedInputException

public MalformedInputException(int lineNumber,
                               String message,
                               Throwable cause)
Construtor.

Parameters:
lineNumber - linha
message - mensagem
cause - causa
Method Detail

getLineNumber

public int getLineNumber()
Consulta o número da linha

Returns:
alinha


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