Remove ElasticsearchIllegalArgumentException and ElasticsearchIllegalStateException in favor of the JDK one

Related to https://github.com/elastic/elasticsearch/issues/10794

Closes #82.
This commit is contained in:
David Pilato 2015-04-29 11:45:03 +02:00
parent 9c7cc9ce28
commit a34a443782
2 changed files with 2 additions and 14 deletions

View File

@ -19,13 +19,7 @@
package org.elasticsearch.cloud.azure;
import org.elasticsearch.ElasticsearchIllegalStateException;
public class AzureServiceDisableException extends ElasticsearchIllegalStateException {
public AzureServiceDisableException() {
super(null);
}
public class AzureServiceDisableException extends IllegalStateException {
public AzureServiceDisableException(String msg) {
super(msg);
}

View File

@ -19,13 +19,7 @@
package org.elasticsearch.cloud.azure;
import org.elasticsearch.ElasticsearchIllegalStateException;
public class AzureServiceRemoteException extends ElasticsearchIllegalStateException {
public AzureServiceRemoteException() {
super(null);
}
public class AzureServiceRemoteException extends IllegalStateException {
public AzureServiceRemoteException(String msg) {
super(msg);
}