Package 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
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:
-
Constructor Summary
ConstructorsConstructorDescriptiondefault 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
-
Constructor Details
-
OutOfNativeMemoryError
public OutOfNativeMemoryError()default constructor for this error. -
OutOfNativeMemoryError
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
-