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

public class SignatureMismatchException extends PushException
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 Details

    • SignatureMismatchException

      public SignatureMismatchException(String reason)
      Required by ExceptionSerializer, which rebuilds this reflectively over the Gateway Network through a (String) constructor. Leaves the structural fields null.
    • SignatureMismatchException

      public SignatureMismatchException(ResourcePath path)
    • SignatureMismatchException

      public SignatureMismatchException(ResourcePath path, @Nullable String collection)
      collection qualifies 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

      public @Nullable ResourcePath getPath()
    • getCollection

      public @Nullable String getCollection()
      The collection the resource was looked for in, or null when the caller named none.