Class RequiredElementCountException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opendaylight.yangtools.yang.data.tree.api.DataValidationFailedException
org.opendaylight.yangtools.yang.data.tree.api.RequiredElementCountException
- All Implemented Interfaces:
Serializable,org.opendaylight.yangtools.yang.data.api.YangNetconfErrorAware
@Beta
@NonNullByDefault
public final class RequiredElementCountException
extends DataValidationFailedException
implements org.opendaylight.yangtools.yang.data.api.YangNetconfErrorAware
Exception thrown when
min-elements or max-element statement restrictions are violated.- Author:
- Robert Varga
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRequiredElementCountException(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier path, int actualCount, int minimumCount, int maximumCount, String message) RequiredElementCountException(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier path, int actualCount, int minimumCount, int maximumCount, String format, Object... args) -
Method Summary
Modifier and TypeMethodDescriptionintList<org.opendaylight.yangtools.yang.data.api.YangNetconfError>Methods inherited from class org.opendaylight.yangtools.yang.data.tree.api.DataValidationFailedException
getPathMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RequiredElementCountException
public RequiredElementCountException(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier path, int actualCount, int minimumCount, int maximumCount, String message) -
RequiredElementCountException
-
-
Method Details
-
getMinimumCount
-
getMaximumCount
-
getActualCount
public int getActualCount() -
getNetconfErrors
- Specified by:
getNetconfErrorsin interfaceorg.opendaylight.yangtools.yang.data.api.YangNetconfErrorAware
-