Class MessageReference

java.lang.Object
org.apache.olingo.odata2.api.exception.MessageReference

public abstract class MessageReference extends Object
APPLICATION DEVELOPERS: Please use ODataApplicationException to throw custom exceptions. This class is used inside the library only.

A MessageReference references to the used message for an ODataMessageException and its sub classes. It supports internationalization and translation of exception messages.
Theses classes contain a MessageReference object which can be mapped to a related key and message text in the resource bundles.