com.sap.conn.jco
Class OutOfNativeMemoryError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by java.lang.VirtualMachineError
              extended by java.lang.OutOfMemoryError
                  extended by 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
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
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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 © 2014 SAP. All Rights Reserved.