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 aunique
statement restrictions are violated.- Author:
- Robert Varga
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UniqueConstraintException(YangInstanceIdentifier path, Map<SchemaNodeIdentifier.Descendant,@Nullable Object> values, String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<YangNetconfError>
getNetconfErrors()
Return theYangNetconfError
s associated with this objects.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 Detail
-
UniqueConstraintException
public UniqueConstraintException(YangInstanceIdentifier path, Map<SchemaNodeIdentifier.Descendant,@Nullable Object> values, String message)
-
-
Method Detail
-
values
public final Map<SchemaNodeIdentifier.Descendant,@Nullable Object> values()
-
getNetconfErrors
public List<YangNetconfError> getNetconfErrors()
Description copied from interface:YangNetconfErrorAware
Return theYangNetconfError
s associated with this objects.- Specified by:
getNetconfErrors
in interfaceYangNetconfErrorAware
- Returns:
- Associated YangNetconfErrors
-
-