Class ResourceNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.inductiveautomation.ignition.common.resourcecollection.PushException
com.inductiveautomation.ignition.common.resourcecollection.ResourceNotFoundException
- All Implemented Interfaces:
Serializable
Specific kind of PushException indicating that a push targeted a resource that is not there, as
discovered while validating the push rather than by the caller's own read beforehand.
Unlike SignatureMismatchException it is not retryable: re-reading will not
bring the resource back.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionResourceNotFoundException(ResourcePath path, @Nullable String collection) collectionqualifies the resource when the caller knows which one it looked in.ResourceNotFoundException(String reason) Required byExceptionSerializer, which rebuilds this reflectively over the Gateway Network through a(String)constructor. -
Method Summary
Modifier and TypeMethodDescription@Nullable StringThe collection the resource was looked for in, or null when the caller named none.@Nullable ResourcePathgetPath()Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ResourceNotFoundException
Required byExceptionSerializer, which rebuilds this reflectively over the Gateway Network through a(String)constructor. Leaves the structural fields null. -
ResourceNotFoundException
-
ResourceNotFoundException
collectionqualifies the resource when the caller knows which one it looked in. The same path can exist in more than one collection, so the path alone does not always identify a target.
-
-
Method Details
-
getPath
-
getCollection
The collection the resource was looked for in, or null when the caller named none.
-