Commits

Shantanu Kumar committed af2425a

add WriteNotAllowedException class

  • Participants
  • Parent commits e655fa2

Comments (0)

Files changed (1)

File src/main/java/org/bituf/clj_dbspec/WriteNotAllowedException.java

+package org.bituf.clj_dbspec;
+
+
+/**
+ * WriteNotAllowedException is raised when a write-operation cannot be executed,
+ * e.g. when write-operation is attempted on a read-only configuration/spec.
+ * @author Shantanu Kumar
+ */
+@SuppressWarnings("serial")
+public class WriteNotAllowedException extends RuntimeException {
+	
+	public WriteNotAllowedException(String msg) {
+		super(msg);
+	}
+	
+}