java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.shredzone.acme4j.exception.AcmeLazyLoadingException
- All Implemented Interfaces:
Serializable
This runtime exception is thrown when an
AcmeException occured while trying to
lazy-load a resource from the ACME server.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAcmeLazyLoadingException(Class<? extends AcmeResource> type, URL location, AcmeException cause) Creates a newAcmeLazyLoadingException.AcmeLazyLoadingException(AcmeResource resource, AcmeException cause) Creates a newAcmeLazyLoadingException. -
Method Summary
Modifier and TypeMethodDescriptionReturns the location of the resource that could not be loaded.Class<? extends AcmeResource>getType()Returns theAcmeResourcetype of the resource that could not be loaded.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AcmeLazyLoadingException
Creates a newAcmeLazyLoadingException.- Parameters:
resource-AcmeResourceto be loadedcause-AcmeExceptionthat was raised
-
AcmeLazyLoadingException
public AcmeLazyLoadingException(Class<? extends AcmeResource> type, URL location, AcmeException cause) Creates a newAcmeLazyLoadingException.- Parameters:
type-AcmeResourcetype to be loadedlocation- Resource locationcause-AcmeExceptionthat was raised- Since:
- 2.8
-
-
Method Details
-
getType
Returns theAcmeResourcetype of the resource that could not be loaded. -
getLocation
Returns the location of the resource that could not be loaded.
-