com.unitesk.atp.messages
Class TypeMismatchMessage

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

public class TypeMismatchMessage
extends FilePositionMessage

Message notifying that expected type mismatched.

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

Constructor Summary
TypeMismatchMessage(File file, Position position, String foundType, String expectedType)
          Constructs message.
 
Method Summary
 String getExpectedType()
          Returns expected type.
 String getFoundType()
          Returns found type.
 
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

TypeMismatchMessage

public TypeMismatchMessage(File file,
                           Position position,
                           String foundType,
                           String expectedType)
Constructs message.

Parameters:
file - message regards to this file
position - message regards to this position in file
foundType - found type
expectedType - expected type
Method Detail

getFoundType

public String getFoundType()
Returns found type.


getExpectedType

public String getExpectedType()
Returns expected type.



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