Added Yang validator.
[controller.git] / opendaylight / sal / yang-prototype / code-generator / yang-model-parser-impl / src / main / java / org / opendaylight / controller / yang / model / parser / impl / YangValidationException.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.controller.yang.model.parser.impl;
9
10 /**
11  * Unchecked exception thrown if yang definition is not valid according to
12  * {@link YangModelValidationListener}
13  */
14 public class YangValidationException extends RuntimeException {
15
16     private static final long serialVersionUID = 7414330400390825381L;
17
18     public YangValidationException(String message, Throwable cause) {
19         super(message, cause);
20     }
21
22     public YangValidationException(String message) {
23         super(message);
24     }
25
26 }