aboutsummaryrefslogtreecommitdiffstats
path: root/poi-scratchpad
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2023-12-19 20:27:49 +0000
committerPJ Fanning <fanningpj@apache.org>2023-12-19 20:27:49 +0000
commitc7324182ad88401f01c25836a878aa7961f46f28 (patch)
tree35b70cf9a335e1be53ca40eba08e5a539638936b /poi-scratchpad
parent53cfc2cc96708a999f15cbb17f9068db4c5a49b2 (diff)
downloadpoi-c7324182ad88401f01c25836a878aa7961f46f28.tar.gz
poi-c7324182ad88401f01c25836a878aa7961f46f28.zip
try to javadoc more unsupported methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1914785 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-scratchpad')
-rw-r--r--poi-scratchpad/src/main/java/org/apache/poi/hemf/record/emf/HemfComment.java5
-rw-r--r--poi-scratchpad/src/main/java/org/apache/poi/hemf/record/emf/HemfRecordIterator.java5
-rw-r--r--poi-scratchpad/src/main/java/org/apache/poi/hemf/record/emfplus/HemfPlusRecordIterator.java5
-rw-r--r--poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFGroupShape.java5
-rw-r--r--poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFPlaceholderDetails.java6
-rw-r--r--poi-scratchpad/src/main/java/org/apache/poi/hwpf/model/OldTextPiece.java1
-rw-r--r--poi-scratchpad/src/main/java/org/apache/poi/hwpf/usermodel/TableRow.java3
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" );