Package com.e1c.langtool.storage.model
Interface IMessageAcceptor
public interface IMessageAcceptor
The common interface of message acceptor to the
model objects.-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the error message.voidAdds the error message.voidAdds the error message.voidaddWarning(Object object, int index, String message) Adds the warning message.voidaddWarning(Object object, String message) Adds the warning message.voidaddWarning(String message, int line) Adds the warning message.
-
Method Details
-
addError
Adds the error message.- Parameters:
object- the object, cannot benull.message- the message, cannot benull.
-
addWarning
Adds the warning message.- Parameters:
object- the object, cannot benull.message- the message, cannot benull.
-
addError
Adds the error message.- Parameters:
object- the object, cannot benull.index- the index in the listmessage- the message, cannot benull.
-
addWarning
Adds the warning message.- Parameters:
object- the object, cannot benull.index- the index in the listmessage- the message, cannot benull.
-
addError
Adds the error message.- Parameters:
message- the message, cannot benull.line- the line in the file, starts with1.
-
addWarning
Adds the warning message.- Parameters:
message- the message, cannot benull.line- the line in the file, starts with1.
-