Messages metadata

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

Attributes

NameDescriptionValue
code

The exception class path that corresponds to the message.

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

Example

 Messages
Messages
<messageconfig>
	<messages>
		<message>
			<code>COM.CRM.EXCEPTION.CANNOTDELETEACTIVEEXCEPTION</code>
			<expression>key_com_crm_exception_cannotdeleteactiveexception</expression>
			<description>Error deleting the specified record because it is marked as active.</description>
		</message>
		...
 
	</messages>
</messageconfig>