diff options
Diffstat (limited to 'poi-scratchpad')
7 files changed, 30 insertions, 0 deletions
diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hemf/record/emf/HemfComment.java b/poi-scratchpad/src/main/java/org/apache/poi/hemf/record/emf/HemfComment.java index 9c4b1bcb85..692bf4ee25 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hemf/record/emf/HemfComment.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hemf/record/emf/HemfComment.java @@ -256,6 +256,11 @@ public class HemfComment { } } + /** + * This method is not yet supported. + * + * @throws UnsupportedOperationException this method is not yet supported + */ @Override public void remove() { throw new UnsupportedOperationException("Remove not supported"); diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hemf/record/emf/HemfRecordIterator.java b/poi-scratchpad/src/main/java/org/apache/poi/hemf/record/emf/HemfRecordIterator.java index afdcaa533f..64b4d176ef 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hemf/record/emf/HemfRecordIterator.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hemf/record/emf/HemfRecordIterator.java @@ -91,6 +91,11 @@ public class HemfRecordIterator implements Iterator<HemfRecord> { return record; } + /** + * This method is not yet supported. + * + * @throws UnsupportedOperationException this method is not yet supported + */ @Override public void remove() { throw new UnsupportedOperationException("Remove not supported"); diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hemf/record/emfplus/HemfPlusRecordIterator.java b/poi-scratchpad/src/main/java/org/apache/poi/hemf/record/emfplus/HemfPlusRecordIterator.java index 032ef0a86c..ad076ed130 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hemf/record/emfplus/HemfPlusRecordIterator.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hemf/record/emfplus/HemfPlusRecordIterator.java @@ -94,6 +94,11 @@ public class HemfPlusRecordIterator implements Iterator<HemfPlusRecord> { return record; } + /** + * This method is not yet supported. + * + * @throws UnsupportedOperationException this method is not yet supported + */ @Override public void remove() { throw new UnsupportedOperationException("Remove not supported"); diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFGroupShape.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFGroupShape.java index a82390e97f..49b2d4bc62 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFGroupShape.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFGroupShape.java @@ -270,6 +270,11 @@ implements HSLFShapeContainer, GroupShape<HSLFShape,HSLFTextParagraph> { return getShapes().spliterator(); } + /** + * This method is not yet supported. + * + * @throws UnsupportedOperationException this method is not yet supported + */ @Override public boolean removeShape(HSLFShape shape) { // TODO: implement! diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFPlaceholderDetails.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFPlaceholderDetails.java index 3c279e299f..3957b0fffb 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFPlaceholderDetails.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFPlaceholderDetails.java @@ -91,6 +91,9 @@ public class HSLFPlaceholderDetails implements PlaceholderDetails { return placeholder; } + /** + * @throws UnsupportedOperationException Only sub class(es) of HSLFPlaceholderDetails allow setting the placeholder + */ @Override public void setPlaceholder(Placeholder placeholder) { throw new UnsupportedOperationException("Only sub class(es) of HSLFPlaceholderDetails allow setting the placeholder"); @@ -101,6 +104,9 @@ public class HSLFPlaceholderDetails implements PlaceholderDetails { return PlaceholderSize.full; } + /** + * @throws UnsupportedOperationException Only sub class(es) of HSLFPlaceholderDetails allow setting the placeholder + */ @Override public void setSize(PlaceholderSize size) { throw new UnsupportedOperationException("Only sub class(es) of HSLFPlaceholderDetails allow setting the size"); diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/OldTextPiece.java b/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/OldTextPiece.java index 22289ae954..019580ced8 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/OldTextPiece.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/OldTextPiece.java @@ -76,6 +76,7 @@ public class OldTextPiece extends TextPiece { * * @param start Local start position, in characters * @param end Local end position, in characters + * @throws UnsupportedOperationException always throws UnsupportedOperationException */ @Override @Deprecated diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/TableRow.java b/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/TableRow.java index 9e70662ead..684984ff3c 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/TableRow.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/TableRow.java @@ -63,6 +63,9 @@ public final class TableRow extends Range return _tprops.getFCantSplit(); } + /** + * @throws UnsupportedOperationException not applicable for TableRow + */ public BorderCode getBarBorder() { throw new UnsupportedOperationException( "not applicable for TableRow" ); |