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
Specific kind of PushException indicating that a push attempted to create a resource but a
resource with the same path already exists.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhich sort of collision was found, which decides the remedy the message offers. -
Constructor Summary
ConstructorsConstructorDescriptionPushConflictException(ResourcePath path, @Nullable String collection, PushConflictException.Kind kind) collectionqualifies the resource when the caller knows which one it looked in.PushConflictException(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 collision was found in, or null when the caller named none.@Nullable PushConflictException.KindgetKind()@Nullable ResourcePathgetPath()Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PushConflictException
Required byExceptionSerializer, which rebuilds this reflectively over the Gateway Network through a(String)constructor. Leaves the structural fields null. -
PushConflictException
-
PushConflictException
public PushConflictException(ResourcePath path, @Nullable String collection, PushConflictException.Kind kind) 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 collision was found in, or null when the caller named none. -
getKind
-