Elaborate on database read-only error message (#1355)

* Elaborate on database read-only error message
This commit is contained in:
Ben McIlwain 2021-10-07 13:25:24 -04:00 committed by GitHub
parent 4dfa5ceedc
commit 3c3140dd9a

View file

@ -152,10 +152,10 @@ public class TransactionManagerFactory {
}
}
/** Thrown when a write is attempted when the DB is in read-only mode. */
/** Registry is currently undergoing maintenance and is in read-only mode. */
public static class ReadOnlyModeException extends IllegalStateException {
public ReadOnlyModeException() {
super("Registry is currently in read-only mode");
ReadOnlyModeException() {
super("Registry is currently undergoing maintenance and is in read-only mode");
}
}
}