public class DuplicateReferenceNameException extends AccessRuntimeException
Constructor and Description |
---|
DuplicateReferenceNameException(String message,
String oldUid,
String suggestion,
String attribute,
long nodeId)
Constructor for this exception.
|
Modifier and Type | Method and Description |
---|---|
String |
getAttribute()
Returns the name of the uid attribute.
|
long |
getNodeId()
The id of the node which causes this duplicate reference name exception.
|
String |
getOldUid()
The old uid which already exist on the server.
|
String |
getSuggestion()
Returns the suggestion for the uid which was unique at the time calculated on the server.
|
constructContext, getContext, getErrorCode, getLocalizedMessage, isInfoOnly, setErrorCode, setInfo, wrapOrRethrow
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DuplicateReferenceNameException(String message, @NotNull String oldUid, @NotNull String suggestion, @NotNull String attribute, long nodeId)
message
- The error message.oldUid
- The failing uid.suggestion
- A suggested uid.nodeId
- The id of the node that failed.attribute
- The name of the uid attribute within the node.@NotNull public String getSuggestion()
public String getAttribute()
public String getOldUid()
public long getNodeId()
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210