Note that this method works only for the objectified primitive object types (int, double, long ...) and String objects.
| Exception Type | Condition | 
|---|---|
| MessageException | if JMS fails to set the property due to some internal error. | 
| ArgumentException | if the name is null or if the name is an empty string. | 
| MessageFormatException | if the object is invalid | 
| MessageNotWriteableException | if properties are read-only | 
IMessage Interface | WebLogic.Messaging Namespace