public class KubernetesClientException extends RuntimeException
Constructor and Description |
---|
KubernetesClientException(io.fabric8.kubernetes.api.model.Status status) |
KubernetesClientException(String message) |
KubernetesClientException(String message,
int code,
io.fabric8.kubernetes.api.model.Status status) |
KubernetesClientException(String message,
int code,
io.fabric8.kubernetes.api.model.Status status,
String group,
String version,
String resourcePlural,
String namespace) |
KubernetesClientException(String message,
Throwable t) |
KubernetesClientException(String message,
Throwable t,
String group,
String version,
String resourcePlural,
String namespace) |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
String |
getFullResourceName() |
String |
getGroup() |
String |
getNamespace() |
String |
getResourcePlural() |
io.fabric8.kubernetes.api.model.Status |
getStatus() |
String |
getVersion() |
static RuntimeException |
launderThrowable(OperationInfo spec,
io.fabric8.kubernetes.api.model.Status status,
Throwable cause)
Deprecated.
Use
launderThrowable(OperationInfo, Throwable) instead |
static RuntimeException |
launderThrowable(OperationInfo spec,
Throwable cause) |
static RuntimeException |
launderThrowable(String message,
Throwable cause) |
static RuntimeException |
launderThrowable(Throwable cause) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public KubernetesClientException(String message)
public KubernetesClientException(io.fabric8.kubernetes.api.model.Status status)
public KubernetesClientException(String message, int code, io.fabric8.kubernetes.api.model.Status status)
public KubernetesClientException(String message, int code, io.fabric8.kubernetes.api.model.Status status, String group, String version, String resourcePlural, String namespace)
public io.fabric8.kubernetes.api.model.Status getStatus()
public int getCode()
public String getGroup()
public String getVersion()
public String getResourcePlural()
public String getNamespace()
public String getFullResourceName()
public static RuntimeException launderThrowable(Throwable cause)
public static RuntimeException launderThrowable(String message, Throwable cause)
public static RuntimeException launderThrowable(OperationInfo spec, Throwable cause)
@Deprecated public static RuntimeException launderThrowable(OperationInfo spec, io.fabric8.kubernetes.api.model.Status status, Throwable cause)
launderThrowable(OperationInfo, Throwable)
insteadCopyright © 2015–2020 Red Hat. All rights reserved.