Class ODataJPAModelException

All Implemented Interfaces:
Serializable

public class ODataJPAModelException extends ODataJPAException
The exception is thrown for any unexpected errors raising while accessing/transforming Java Persistence Models.
See Also:
  • Field Details

  • Method Details

    • throwException

      public static ODataJPAModelException throwException(MessageReference messageReference, Throwable e)
      The method creates an exception object of type ODataJPAModelException with localized error texts.
      Parameters:
      messageReference - is a mandatory parameter referring to a literal that could be translated to localized error texts.
      e - is an optional parameter representing the previous exception in the call stack
      Returns:
      an instance of ODataJPAModelException which can be then raised.