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 Details

    • RequiredElementCountException

      public RequiredElementCountException(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier path, int actualCount, int minimumCount, int maximumCount, String message)
    • RequiredElementCountException

      public RequiredElementCountException(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier path, int actualCount, int minimumCount, int maximumCount, String format, Object... args)
  • Method Details

    • getMinimumCount

      public OptionalInt getMinimumCount()
    • getMaximumCount

      public OptionalInt getMaximumCount()
    • getActualCount

      public int getActualCount()
    • getNetconfErrors

      public List<org.opendaylight.yangtools.yang.data.api.YangNetconfError> getNetconfErrors()
      Specified by:
      getNetconfErrors in interface org.opendaylight.yangtools.yang.data.api.YangNetconfErrorAware