com.unitesk.atp.messages
Class SyntaxErrorMessage

java.lang.Object
  extended by com.unitesk.atp.messages.FileMessage
      extended by com.unitesk.atp.messages.FilePositionMessage
          extended by com.unitesk.atp.messages.SyntaxErrorMessage
All Implemented Interfaces:
Message

public class SyntaxErrorMessage
extends FilePositionMessage

Message notifying that a syntax error occured.

Version:
$Id: SyntaxErrorMessage.java,v 1.2 2004/10/11 15:00:42 all-x Exp $
Author:
Alexey Demakov

Constructor Summary
SyntaxErrorMessage(File file, Position position, String text)
          Constructs message.
 
Method Summary
 String getText()
           
 
Methods inherited from class com.unitesk.atp.messages.FilePositionMessage
getPosition
 
Methods inherited from class com.unitesk.atp.messages.FileMessage
getFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyntaxErrorMessage

public SyntaxErrorMessage(File file,
                          Position position,
                          String text)
Constructs message.

Parameters:
file - message regards to this file
position - message regards to this position in file
text - optional text fragment with incorrect syntax
Method Detail

getText

public String getText()


Copyright © 2001-2006 ISP RAS, RedVerst Group. All Rights Reserved.