com.sap.conn.jco

## Class OutOfNativeMemoryError

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Error
    - - java.lang.VirtualMachineError
      - - java.lang.OutOfMemoryError
        - - com.sap.conn.jco.OutOfNativeMemoryError

- All Implemented Interfaces:
    Serializable

      public class OutOfNativeMemoryError
      extends OutOfMemoryError

  A special OutOfMemoryError indicating that a JNI call terminated with a return code showing that a memory allocation failed. Thus it is possible to distinguish OutOfMemoryErrors within Java and in the native layer.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OutOfNativeMemoryError()` default constructor for this error.
    `OutOfNativeMemoryError(String message)` Constructor with message as parameter that shows info about the error or gives a hint to the origin.

  - ### Method Summary

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

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

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

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

- - ### Constructor Detail

    - #### OutOfNativeMemoryError

          public OutOfNativeMemoryError()

      default constructor for this error.

    - #### OutOfNativeMemoryError

          public OutOfNativeMemoryError(String message)

      Constructor with message as parameter that shows info about the error or gives a hint to the origin.
      Parameters:
        `message` - A message describing the cause of the Error

Copyright © 2019 SAP. All Rights Reserved.