Class InconsistentVersioningState

  • All Implemented Interfaces:
    Serializable

    public class InconsistentVersioningState
    extends RuntimeException
    The InconsistentVersionControlState is used to signal inconsistencies in the versioning related state of a node, such as missing mandatory properties, missing version nodes, etc.
    See Also:
    Serialized Form
    • Constructor Detail

      • InconsistentVersioningState

        public InconsistentVersioningState​(String message)
        Constructs a new instance of this class with the specified detail message.
        Parameters:
        message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
      • InconsistentVersioningState

        public InconsistentVersioningState​(String message,
                                           NodeId versionHistoryNodeId,
                                           Throwable rootCause)
        Constructs a new instance of this class with the specified detail message.
        Parameters:
        message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
        rootCause - root cause (or otherwise null)
        versionHistoryNodeId - NodeId of the version history that has problems (or otherwise null
    • Method Detail

      • getVersionHistoryNodeId

        public NodeId getVersionHistoryNodeId()
        Returns:
        the NodeId of the version history having problems or null when unknown.