@Test public void testRemove() { try { getPropertyIterator(30, 10).remove(); } catch (OCFRuntimeException err) { assertTrue(err.getMessage().contains("OCF-PROPERTIES-400-018 ")); } catch (Throwable exc) { assertTrue(false); } }
@Override public void remove() { throw new OCFRuntimeException(OCFErrorCode.UNABLE_TO_REMOVE.getMessageDefinition(this.getParentAssetTypeName(), this.getParentAssetName(), this.getClass().getName()), this.getClass().getName(), "remove"); }
AssetLocations extends AssetPropertyIteratorBase implements Iterator<AssetLocation> { @Override public void remove() { throw new OCFRuntimeException(OCFErrorCode.UNABLE_TO_REMOVE.getMessageDefinition(this.getParentAssetTypeName(), this.getParentAssetName(), this.getClass().getName()), this.getClass().getName(), "remove"); } }
AssetLocations extends AssetPropertyIteratorBase implements Iterator<AssetLocation> { @Override public void remove() { throw new OCFRuntimeException(OCFErrorCode.UNABLE_TO_REMOVE.getMessageDefinition(this.getParentAssetTypeName(), this.getParentAssetName(), this.getClass().getName()), this.getClass().getName(), "remove"); } AssetLocations(AssetDescriptor              parentAsset,
                          int                          totalElementCount,
                          int                          maxCacheSize);  AssetLocations(AssetDescriptor   parentAsset, AssetLocations template); }
AssetLocations extends AssetPropertyIteratorBase implements Iterator<AssetLocation> { @Override public void remove() { throw new OCFRuntimeException(OCFErrorCode.UNABLE_TO_REMOVE.getMessageDefinition(this.getParentAssetTypeName(), this.getParentAssetName(), this.getClass().getName()), this.getClass().getName(), "remove"); } AssetLocations(AssetDescriptor              parentAsset,
                          int                          totalElementCount,
                          int                          maxCacheSize);  AssetLocations(AssetDescriptor   parentAsset, AssetLocations template); @Override boolean hasNext(); @Override AssetLocation next(); @Override void remove(); @Override String toString(); }
AssetLocations extends AssetPropertyIteratorBase implements Iterator<AssetLocation> { @Override public void remove() { throw new OCFRuntimeException(OCFErrorCode.UNABLE_TO_REMOVE.getMessageDefinition(this.getParentAssetTypeName(), this.getParentAssetName(), this.getClass().getName()), this.getClass().getName(), "remove"); } AssetLocations(AssetDescriptor              parentAsset,
                          int                          totalElementCount,
                          int                          maxCacheSize);  AssetLocations(AssetDescriptor   parentAsset, AssetLocations template); @Override boolean hasNext(); @Override AssetLocation next(); @Override void remove(); @Override String toString();  }