Class PushConflictException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.inductiveautomation.ignition.common.resourcecollection.PushException
com.inductiveautomation.ignition.common.resourcecollection.PushConflictException
All Implemented Interfaces:
Serializable

public class PushConflictException extends PushException
Specific kind of PushException indicating that a push attempted to create a resource but a resource with the same path already exists.
See Also:
  • Constructor Details

    • PushConflictException

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

      public PushConflictException(ResourcePath path, PushConflictException.Kind kind)
    • PushConflictException

      public PushConflictException(ResourcePath path, @Nullable String collection, PushConflictException.Kind kind)
      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.
  • Method Details

    • getPath

      public @Nullable ResourcePath getPath()
    • getCollection

      public @Nullable String getCollection()
      The collection the collision was found in, or null when the caller named none.
    • getKind

      public @Nullable PushConflictException.Kind getKind()