diff --git a/platform/platform-impl/src/com/intellij/remote/DockerMachineCommandException.java b/platform/platform-impl/src/com/intellij/remote/DockerMachineCommandException.java index f317a22a47de..d6e73039dd6c 100644 --- a/platform/platform-impl/src/com/intellij/remote/DockerMachineCommandException.java +++ b/platform/platform-impl/src/com/intellij/remote/DockerMachineCommandException.java @@ -27,6 +27,10 @@ public class DockerMachineCommandException extends RuntimeException { super(buildErrorMessage(exitCode, stderr)); } + public DockerMachineCommandException(String message) { + super(message); + } + @NotNull private static String buildErrorMessage(int exitCode, String stderr) { StringBuilder sb = new StringBuilder() diff --git a/platform/platform-impl/src/com/intellij/remote/DockerSupport.java b/platform/platform-impl/src/com/intellij/remote/DockerSupport.java index 8224858e344e..bf29448669ec 100644 --- a/platform/platform-impl/src/com/intellij/remote/DockerSupport.java +++ b/platform/platform-impl/src/com/intellij/remote/DockerSupport.java @@ -48,6 +48,9 @@ public abstract class DockerSupport { @NotNull public abstract List getVMs() throws DockerMachineException, DockerMachineCommandException; + @NotNull + public abstract String getStatus(@NotNull String machineName); + @NotNull public abstract ConnectionInfo getConnectionInfo(@NotNull String machineName) throws DockerMachineException, DockerMachineCommandException;