mirror of
https://github.com/google/nomulus.git
synced 2025-07-25 03:58:34 +02:00
Elaborate on database read-only error message (#1355)
* Elaborate on database read-only error message
This commit is contained in:
parent
4dfa5ceedc
commit
3c3140dd9a
1 changed files with 3 additions and 3 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue