Package 

Class ObjectAlreadyConsumedException

  • All Implemented Interfaces:
    java.io.Serializable

    
    public class ObjectAlreadyConsumedException
    extends RuntimeException
                        

    Exception thrown when a caller attempts to modify or use a WritableNativeArray or after it has already been added to a parent array or map. This is unsafe since we reuse the native memory so the underlying array/map is no longer valid.

    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ObjectAlreadyConsumedException

        ObjectAlreadyConsumedException(String detailMessage)