Class ResourceRetrievalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.intellectualsites.arkitektonika.exceptions.ResourceRetrievalException
- All Implemented Interfaces:
Serializable
Exception thrown when Arkitektonika fails to retrieve a requested resource
- See Also:
- Serialized Form
-
Constructor Summary
ConstructorsConstructorDescriptionResourceRetrievalException(@NotNull String resource, int code, @NotNull String message)ResourceRetrievalException(@NotNull String resource, @NotNull Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionGet the resource that couldn't be retrievedMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ResourceRetrievalException
-
ResourceRetrievalException
-
-
Method Details
-
getResource
Get the resource that couldn't be retrieved- Returns:
- Failed resource
-