incorporate feedback; added doc
Original commit: elastic/x-pack-elasticsearch@30aaa05943
This commit is contained in:
parent
b606be83f2
commit
a1d349fbb5
|
@ -11,10 +11,10 @@ import org.elasticsearch.rest.RestStatus;
|
|||
/**
|
||||
* 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) {
|
||||
super(feature + " license has expired");
|
||||
public LicenseExpiredException(String feature) {
|
||||
super("license expired for feature [" + feature + "]");
|
||||
}
|
||||
|
||||
@Override
|
Loading…
Reference in New Issue