public class AcmeServerException extends AcmeException
Constructor and Description |
---|
AcmeServerException(String type,
String detail)
Creates a new
AcmeServerException . |
Modifier and Type | Method and Description |
---|---|
String |
getAcmeErrorType()
Returns the ACME error type.
|
String |
getType()
Returns the error type.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AcmeServerException(String type, String detail)
AcmeServerException
.type
- System readable error type (e.g.
"urn:ietf:params:acme:error:malformed"
)detail
- Human readable error messagepublic String getAcmeErrorType()
"malformed"
on "urn:ietf:params:acme:error:malformed"
.null
if this is not an
"urn:ietf:params:acme:error"
Copyright © 2015–2019. All rights reserved.