This exception is no longer used and should be removed to reduce
confusion.
Change-Id: Ie5c298c8e8a5aa4bdd11ecf5768d14f5584f1344
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
*/
package org.opendaylight.yangtools.yang.parser.util;
+/**
+ * @deprecated This exception is not produced anywhere and is scheduled for removal.
+ */
// TODO: switch to checked exception, add YangSemanticException
+@Deprecated
public class YangParseException extends RuntimeException {
private static final long serialVersionUID = 1239548963471793178L;
public YangParseException(final String moduleName, final int line, final String errorMsg, final Exception exception) {
super("Error in module '" + moduleName + "' at line " + line + ": " + errorMsg, exception);
}
-
-
}