/** * Same as {@link #allocateNewSafe()}. */ @Override public void allocateNew() throws OutOfMemoryException { if (!allocateNewSafe()) { throw new OutOfMemoryException("Failure while allocating memory"); } }
/** * Same as {@link #allocateNewSafe()}. */ @Override public void allocateNew() throws OutOfMemoryException { if (!allocateNewSafe()) { throw new OutOfMemoryException("Failure while allocating memory"); } }