Справочник Пользователя для BEA WebLogic Server

Скачать
Страница из 88
Adding Messages to Catalogs
Internationalization Guide
3-11
6. Toggle the Display stacktrace option on or off by clicking the checkmark box. 
Use this option to print a stacktrace along with the message when a Logger 
method takes an exception as one of its arguments. 
7. Click Add.
The message is added and the entire catalog is immediately written to disk.
Entering a New Simple Text Message
To enter a simple text message into a simple messages catalog, complete the following 
procedure:
1. From the WebLogic Message Editor main dialog, enter the full pathname in the 
Message Catalog field or click Browse and navigate to the existing catalog. 
The WebLogic Message Editor for Simple Messages dialog displays as shown in 
.
Figure 3-7   Simple Messages
2. Enter a unique alphanumeric Message ID
3. Enter a Comment if required.
4. Enter the appropriate Method for your simple message, including parentheses 
and any arguments.