2c1b9b80d5b72d128a32e92623f9ea19dcb5ec64
[controller.git] / opendaylight / sal / yang-prototype / code-generator / yang-model-parser-impl / src / main / java / org / opendaylight / controller / yang / model / parser / util / YangParseException.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/eplv10.html
7  */
8 package org.opendaylight.controller.yang.model.parser.util;
9
10 public class YangParseException extends RuntimeException {
11
12     private static final long serialVersionUID = 1239548963471793178L;
13
14     public YangParseException(final String errorMsg) {
15         super(errorMsg);
16     }
17
18     public YangParseException(final String errorMsg, final Exception exception) {
19         super(errorMsg, exception);
20     }
21
22 }