1
0
mirror of https://github.com/google/nomulus synced 2026-01-07 22:15:30 +00:00

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 28628564cc
commit b1b0589281

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");
}
}
}