org.apache.olingo.server.api

## Class ODataLibraryException.ODataErrorMessage

- java.lang.Object
- - org.apache.olingo.server.api.ODataLibraryException.ODataErrorMessage

- Enclosing class:
    ODataLibraryException

      public static class ODataLibraryException.ODataErrorMessage
      extends Object

  Error message text and `Locale` used for it.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ODataErrorMessage(String message, Locale usedLocale)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Locale` | `getLocale()` Gets the `Locale` used for this message.
    `String` | `getMessage()` Gets the message text.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ODataErrorMessage

          public ODataErrorMessage(String message,
                                   Locale usedLocale)

  - ### Method Detail

    - #### getMessage

          public String getMessage()

      Gets the message text.

    - #### getLocale

          public Locale getLocale()

      Gets the `Locale` used for this message.

Copyright © 2013–2020 The Apache Software Foundation. All rights reserved.