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
ConstructorDescriptionAcmeLazyLoadingException
(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 theAcmeResource
type 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
-AcmeResource
to be loadedcause
-AcmeException
that was raised
-
AcmeLazyLoadingException
public AcmeLazyLoadingException(Class<? extends AcmeResource> type, URL location, AcmeException cause) Creates a newAcmeLazyLoadingException
.- Parameters:
type
-AcmeResource
type to be loadedlocation
- Resource locationcause
-AcmeException
that was raised- Since:
- 2.8
-
-
Method Details
-
getType
Returns theAcmeResource
type of the resource that could not be loaded. -
getLocation
Returns the location of the resource that could not be loaded.
-