getPriority method

Returns the priority of the message (ranging from 0 to 9).

 Syntax
 Returns
 Exceptions