public class CertificateValidationException extends RuntimeException
Modifier and Type | Class and Description |
---|---|
static class |
CertificateValidationException.CertificateValidationStatus |
Modifier and Type | Method and Description |
---|---|
CertificateStatus |
getCertificateStatus() |
ServiceType |
getServiceType() |
String |
getServiceUrl() |
static CertificateValidationException |
of(CertificateStatus status,
String message) |
static CertificateValidationException |
of(CertificateStatus status,
String message,
Throwable cause) |
void |
setServiceType(ServiceType serviceType) |
void |
setServiceUrl(String serviceUrl) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static CertificateValidationException of(CertificateStatus status, String message)
status
- status of certificatemessage
- error messagepublic static CertificateValidationException of(CertificateStatus status, String message, Throwable cause)
status
- status of certificatemessage
- error messagecause
- cause of errorpublic void setServiceType(ServiceType serviceType)
public void setServiceUrl(String serviceUrl)
public CertificateStatus getCertificateStatus()
public ServiceType getServiceType()
public String getServiceUrl()
Copyright © 2024. All rights reserved.