anchela commented on a change in pull request #485:
URL: https://github.com/apache/jackrabbit-oak/pull/485#discussion_r801684504
##########
File path:
oak-store-spi/src/main/java/org/apache/jackrabbit/oak/spi/state/ReadyOnlyBuilderUnsupportedOperationException.java
##########
@@ -0,0 +1,12 @@
+package org.apache.jackrabbit.oak.spi.state;
+
+/**
+ * Indicates that a modification operation was tried to execute on a read-only
builder.
+ * It should be used instead of throwing plain UnsupportedOperationExceptions
in that situation.
+ */
+public class ReadyOnlyBuilderUnsupportedOperationException extends
UnsupportedOperationException {
Review comment:
Maybe `ReadyOnlyBuilderException` would be sufficiently clear and a bit
shorter than `ReadyOnlyBuilderUnsupportedOperationException`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]