Revision 9481
Added by Jing Tao over 8 years ago
ReadOnlyChecker.java | ||
---|---|---|
32 | 32 |
*/ |
33 | 33 |
public class ReadOnlyChecker { |
34 | 34 |
|
35 |
|
|
35 |
public static final String DATAONEERROR= "The Metacat member node is on the read-only mode and your request can't be fulfiled. Please try again later."; |
|
36 | 36 |
/** |
37 | 37 |
* Default constructor |
38 | 38 |
*/ |
Also available in: Unified diff
Use the ServiceFailure to replace the InvalidRequest when it is the read-only mode (CN throws the exception).