incorporate feedback; added doc

Original commit: elastic/x-pack-elasticsearch@30aaa05943
This commit is contained in:
Areek Zillur 2014-11-12 18:42:52 -05:00
parent b606be83f2
commit a1d349fbb5
1 changed files with 3 additions and 3 deletions

View File

@ -11,10 +11,10 @@ import org.elasticsearch.rest.RestStatus;
/** /**
* Exception to be thrown when a feature action requires a valid license * Exception to be thrown when a feature action requires a valid license
*/ */
public class ExpiredLicenseException extends ElasticsearchException { public class LicenseExpiredException extends ElasticsearchException {
public ExpiredLicenseException(String feature) { public LicenseExpiredException(String feature) {
super(feature + " license has expired"); super("license expired for feature [" + feature + "]");
} }
@Override @Override