Rename EventHubRuntimeException to distinguish from checked EventHubException thrown by EventHubClient

This commit is contained in:
Warren Zhu 2018-05-15 14:57:12 +08:00
Родитель eb66e32ae6
Коммит ab96e72826
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -23,13 +23,13 @@ import org.springframework.core.NestedRuntimeException;
*
* @author Warren Zhu
*/
public class EventHubException extends NestedRuntimeException {
public class EventHubRuntimeException extends NestedRuntimeException {
public EventHubException(String msg) {
public EventHubRuntimeException(String msg) {
super(msg);
}
public EventHubException(String msg, Throwable cause) {
public EventHubRuntimeException(String msg, Throwable cause) {
super(msg, cause);
}
}