Class YangParserException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opendaylight.yangtools.yang.parser.api.YangParserException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
YangSyntaxErrorException

public class YangParserException extends Exception
Base exception reported by YangParser. This is used as an exception of last resort, semantic reporting of individual errors is performed via subclasses, like YangSyntaxErrorException.
See Also:
  • Constructor Details

    • YangParserException

      public YangParserException(String message)
    • YangParserException

      public YangParserException(String message, Throwable cause)