Class UniqueConstraintException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opendaylight.yangtools.yang.data.tree.api.DataValidationFailedException
org.opendaylight.yangtools.yang.data.tree.api.UniqueConstraintException
- All Implemented Interfaces:
Serializable
,YangNetconfErrorAware
@Beta
public class UniqueConstraintException
extends DataValidationFailedException
implements YangNetconfErrorAware
Exception thrown when a
unique
statement restrictions are violated.- Author:
- Robert Varga
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUniqueConstraintException
(YangInstanceIdentifier path, Map<SchemaNodeIdentifier.Descendant, @Nullable Object> values, String message) -
Method Summary
Modifier and TypeMethodDescriptionReturn theYangNetconfError
s associated with this objects.final Map<SchemaNodeIdentifier.Descendant,
@Nullable Object> values()
Methods inherited from class org.opendaylight.yangtools.yang.data.tree.api.DataValidationFailedException
getPath
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UniqueConstraintException
public UniqueConstraintException(YangInstanceIdentifier path, Map<SchemaNodeIdentifier.Descendant, @Nullable Object> values, String message)
-
-
Method Details
-
values
-
getNetconfErrors
Description copied from interface:YangNetconfErrorAware
Return theYangNetconfError
s associated with this objects.- Specified by:
getNetconfErrors
in interfaceYangNetconfErrorAware
- Returns:
- Associated YangNetconfErrors
-