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)
Deprecated.
|
KubernetesClientException(String message,
Throwable t) |
KubernetesClientException(String message,
Throwable t,
int code,
io.fabric8.kubernetes.api.model.Status status,
HttpRequest httpRequest) |
KubernetesClientException(String message,
Throwable t,
String group,
String version,
String resourcePlural,
String namespace)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
KubernetesClientException |
copyAsCause()
Create a new
KubernetesClientException with this exception as the cause |
int |
getCode() |
String |
getFullResourceName() |
String |
getGroup() |
String |
getName() |
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, Throwable t, int code, io.fabric8.kubernetes.api.model.Status status, HttpRequest httpRequest)
@Deprecated public KubernetesClientException(String message, int code, io.fabric8.kubernetes.api.model.Status status, String group, String version, String resourcePlural, String namespace)
KubernetesClientException(String, Throwable, int, Status, HttpRequest)
instead@Deprecated public KubernetesClientException(String message, Throwable t, String group, String version, String resourcePlural, String namespace)
KubernetesClientException(String, Throwable, int, Status, HttpRequest)
insteadpublic io.fabric8.kubernetes.api.model.Status getStatus()
public int getCode()
public String getGroup()
public String getVersion()
public String getResourcePlural()
public String getNamespace()
public String getName()
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)
insteadpublic KubernetesClientException copyAsCause()
KubernetesClientException
with this exception as the causeCopyright © 2015–2024 Red Hat. All rights reserved.