|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
FileStatus | Alexey Demakov |
Message | The interface of application message. |
MessageBox | The message box for application messages. |
MessageLevel | Error level. |
Class Summary | |
---|---|
CheckFileStatus | Alexey Demakov |
CircularDependenceMessage | Message notifying that there is circular dependence. |
EntityRedefinitionMessage | Message notifying that entity already defined. |
EntityValueMessage | Message with information about entity value. |
ErrorMessageLevel | Error message level. |
FileMessage | The root class for application messages that linked to file. |
FileNotFoundMessage | Message notifying that a file was not found. |
FilePositionMessage | The root class for application messages that linked to position in file. |
FileStatusMessage | |
FoundFileStatus | Alexey Demakov |
InfoMessageLevel | Info message level. |
InputFileStatus | Alexey Demakov |
InternalErrorMessage | Message notifying about internal error. |
IOErrorMessage | Message notifying about I/O Error. |
ListMessageBox | Alexey Demakov |
MessageBoxStatisticsMessage | Message with message box statistics. |
MessageContext | Message context contains all information for messsage output. |
MessageStringManager | Message string manager. |
NameNotFoundMessage | Message notifying that a name was not found. |
NameRedefinitionMessage | Message notifying that a name already defined. |
NotFoundFileStatus | Alexey Demakov |
NullMessageBox | The message box that discards all messages but counts them. |
OutputFileStatus | Alexey Demakov |
PrintStreamMessageBox | The message box that prints messages to output stream (and also logs them). |
StatusMessage | Abstract base class for all messages for those only message text should be printed. |
SyntaxErrorMessage | Message notifying that a syntax error occured. |
TypeMismatchMessage | Message notifying that expected type mismatched. |
UpToDateFileStatus | Alexey Demakov |
WarningMessageLevel | Warning message level. |
Exception Summary | |
---|---|
FatalErrorException | Indicates request to stop program execution because of fatal error. |
A message
informs about an event
of some type, for example, "file not found". For each event type
message class is created. Message contains not text of message, but parameters
required to form it. For "file not found" event parameter is file name.
Created message put in
message box
with indication of
message level - error, warning, info message. So, "file not found" event
can be error or warning, and in both cases the same class is used.
Message box specifies a way of displaying messages - it can be put in standard error stream, window or shown in other way.
Message text is formed using string provided by
string manager
of message box.
By default it is
FormatStringManager
that for message of class <MessageClass> loads string with name
message
from resource bundle returned by
ResourceBundle.getBundle( <MessageClass>, ... )
method and uses it as
pattern
. Message parameters can be used as parameters of this pattern.
So, message patterns are resources and message format can be tuned depending on
environment and regional settings.
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |