Class SignatureMismatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.inductiveautomation.ignition.common.resourcecollection.PushException
com.inductiveautomation.ignition.common.resourcecollection.SignatureMismatchException
- All Implemented Interfaces:
Serializable
Specific kind of PushException indicating that a push supplied a base signature that does not
match the current signature of the resource it targets, so the caller is working from a copy that
is no longer current.
Not a PushConflictException: a conflict is resolved by choosing a different path, a
stale signature by re-reading and reapplying. A caller offering either remedy has to tell the two
apart.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSignatureMismatchException(ResourcePath path, @Nullable String collection) collectionqualifies the resource when the caller knows which one it looked in.SignatureMismatchException(String reason) Required byExceptionSerializer, which rebuilds this reflectively over the Gateway Network through a(String)constructor.SignatureMismatchException(String message, @Nullable ResourcePath path, @Nullable String collection) Overrides the message while keeping the structural fields. -
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
-
SignatureMismatchException
Required byExceptionSerializer, which rebuilds this reflectively over the Gateway Network through a(String)constructor. Leaves the structural fields null. -
SignatureMismatchException
-
SignatureMismatchException
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. -
SignatureMismatchException
public SignatureMismatchException(String message, @Nullable ResourcePath path, @Nullable String collection) Overrides the message while keeping the structural fields.
-
-
Method Details
-
getPath
-
getCollection
The collection the resource was looked for in, or null when the caller named none.
-