We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8224eeb commit 42567deCopy full SHA for 42567de
src/main/java/org/scijava/io/handle/DataHandles.java
@@ -112,6 +112,15 @@ private static synchronized void initUTFMethod() {
112
"No usable DataOutputStream.writeUTF(String, DataOutput)", exc);
113
}
114
115
+
116
+ protected static IOException readOnlyException() {
117
+ return new IOException("This handle is read-only!");
118
+ }
119
120
+ protected static IOException writeOnlyException() {
121
+ return new IOException("This handle is write-only!");
122
123
124
125
/**
126
* Copies all bytes from the input to the output handle. Reading and writing
0 commit comments