Class DataValidationFailedException

    • Constructor Detail

      • DataValidationFailedException

        public DataValidationFailedException​(YangInstanceIdentifier path,
                                             String message)
        Create a new instance.
        Parameters:
        path - Object path which caused this exception
        message - Specific message describing the failure
      • DataValidationFailedException

        public DataValidationFailedException​(YangInstanceIdentifier path,
                                             String message,
                                             Throwable cause)
        Create a new instance, initializing the cause.
        Parameters:
        path - Object path which caused this exception
        message - Specific message describing the failure
        cause - Exception which triggered this failure, may be null
    • Method Detail

      • getPath

        public YangInstanceIdentifier getPath()
        Returns the offending object path.
        Returns:
        Path of the offending object