KNOX-1105 - Provide indication that topologies were generated from simple descriptors...
[knox.git] / gateway-spi / src / main / java / org / apache / hadoop / gateway / i18n / GatewaySpiMessages.java
index aad4d8a..4a5b926 100644 (file)
@@ -88,4 +88,7 @@ public interface GatewaySpiMessages {
   @Message(level = MessageLevel.ERROR, text = "Invalid resource URI {0} : {1}")
   void invalidResourceURI(final String uri, final String reason, @StackTrace(level = MessageLevel.DEBUG) Exception e );
 
+  @Message( level = MessageLevel.ERROR, text = "Topology {0} cannot be manually overwritten because it was generated from a simple descriptor." )
+  void disallowedOverwritingGeneratedTopology(final String topologyName);
+
 }