org.apache.jackrabbit.core.version
Class InconsistentVersioningState
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.jackrabbit.core.version.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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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
getVersionHistoryNodeId
public NodeId getVersionHistoryNodeId()
- Returns:
- the NodeId of the version history having problems or
null
when unknown.
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.