Package net.sf.tweety.commons
Class ParserException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- net.sf.tweety.commons.ParserException
-
- All Implemented Interfaces:
java.io.Serializable
public class ParserException extends java.lang.RuntimeException
This class models a general exception for parsing.- Author:
- Matthias Thimm
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParserException(java.lang.Exception e)
Creates a new parser exception with the given sub exception.ParserException(java.lang.String message)
Creates a new parser exception with the given message.
-
-
-
Constructor Detail
-
ParserException
public ParserException(java.lang.String message)
Creates a new parser exception with the given message.- Parameters:
message
- a string.
-
ParserException
public ParserException(java.lang.Exception e)
Creates a new parser exception with the given sub exception.- Parameters:
e
- an exception.
-
-