类 DockerEngineException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cn.taketoday.buildpack.platform.docker.transport.DockerEngineException
- 所有已实现的接口:
Serializable
Exception thrown when a call to the Docker API fails.
- 从以下版本开始:
- 4.0
- 作者:
- Phillip Webb, Scott Frederick
- 另请参阅:
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static StringbuildMessage(String host, URI uri, int statusCode, String reasonPhrase, Errors errors, Message responseMessage) Return the errors from the body of the Docker API response, ornullif the errors JSON could not be read.Return the reason phrase returned by the Docker API.Return the message from the body of the Docker API response, ornullif the message JSON could not be read.intReturn the status code returned by the Docker API.
-
字段详细资料
-
statusCode
private final int statusCode -
reasonPhrase
-
errors
-
responseMessage
-
-
构造器详细资料
-
DockerEngineException
-
-
方法详细资料
-
getStatusCode
public int getStatusCode()Return the status code returned by the Docker API.- 返回:
- the statusCode the status code
-
getReasonPhrase
Return the reason phrase returned by the Docker API.- 返回:
- the reasonPhrase
-
getErrors
Return the errors from the body of the Docker API response, ornullif the errors JSON could not be read.- 返回:
- the errors or
null
-
getResponseMessage
Return the message from the body of the Docker API response, ornullif the message JSON could not be read.- 返回:
- the message or
null
-
buildMessage
-