Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
nameblue

In this metadata file you can define the message texts and map an error message to a Java exception.

Attributes

NameDescriptionValue
code

the The exception class path that corresponds to the message.

Any of the exception classes
expressionA glossary key that corresponds to the expression as to be displayed on the screenAny glossary key
descriptionthe The description of the message as displayed on the screen.Any

Example

Expand
titleMessages
Code Block
themeEclipse
languagexml
titleMessages
<messageconfig>
	<messages>
		<message>
			<code>COM.CRM.EXCEPTION.PRIMARYFIELDEXCEPTION<CANNOTDELETEACTIVEEXCEPTION</code>
			<expression>Cannot delete the default record.<<expression>key_com_crm_exception_cannotdeleteactiveexception</expression>
			<description>Cannot<description>Error deletedeleting the defaultspecified record.</description>
		</message>
 
		<message>
			<code>COM.CRM.EXCEPTION.MANDATORYFIELDEXCEPTION</code>
			<expression>Please specify %1.</expression>
			<description>A mandatory field is not specified.</ because it is marked as active.</description>
		</message>
 
		...
 
	</messages>
</messageconfig>