public class InconsistentVersioningState extends RuntimeException
InconsistentVersionControlState
is used to signal
inconsistencies in the versioning related state of a node, such
as missing mandatory properties, missing version nodes, etc.Constructor and Description |
---|
InconsistentVersioningState(String message)
Constructs a new instance of this class with the specified detail
message.
|
InconsistentVersioningState(String message,
NodeId versionHistoryNodeId,
Throwable rootCause)
Constructs a new instance of this class with the specified detail
message.
|
Modifier and Type | Method and Description |
---|---|
NodeId |
getVersionHistoryNodeId() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InconsistentVersioningState(String message)
message
- the detail message. The detail message is saved for
later retrieval by the Throwable.getMessage()
method.public InconsistentVersioningState(String message, NodeId versionHistoryNodeId, Throwable rootCause)
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
public NodeId getVersionHistoryNodeId()
null
when unknown.Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.