Class PlException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.tweetyproject.logics.commons.error.LanguageException
org.tweetyproject.logics.pl.error.PlException
- All Implemented Interfaces:
Serializable
An Exception for the propositional language, it is thrown if a developer
tries to create illegal propositional statements like a predicate with an
arity greater than zero.
- Author:
- Tim Janus
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.tweetyproject.logics.commons.error.LanguageException
LanguageException.LanguageExceptionReason
-
Constructor Summary
ConstructorDescriptionConstructorPlException
(LanguageException.LanguageExceptionReason reason, String info) Constructor -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PlException
Constructor- Parameters:
reason
- LanguageExceptionReason
-
PlException
Constructor- Parameters:
reason
- LanguageExceptionReasoninfo
- info
-