How to define message(e.g. error message)

Hi Team,

In Aras Method, when displaying error/information/ confirmation message etc. in the message box to the user,
the following is considered as the definition place of the message:
1) UserMessage Item
    ... UserMessage ItemType exists.
        Not shown in TOC after Aras installation.
2) ui_resources.xml
    ... For example, it exists in "{Aras Installed Dir}\Innovator\Client\Solutions\PLM\xml\".
        Of course, when customizing by myself, I prepare ui_resources.xml in another folder.

I have used both before.
But, I want to know the merits and demerits of each.
Should I separate those depending on situation ?