Enum LanguageException.LanguageExceptionReason
java.lang.Object
java.lang.Enum<LanguageException.LanguageExceptionReason>
org.tweetyproject.logics.commons.error.LanguageException.LanguageExceptionReason
- All Implemented Interfaces:
Serializable
,Comparable<LanguageException.LanguageExceptionReason>
,Constable
- Enclosing class:
LanguageException
public static enum LanguageException.LanguageExceptionReason
extends Enum<LanguageException.LanguageExceptionReason>
Enumeration representing specific reasons why a
LanguageException
might be thrown.
Each reason corresponds to a particular type of illegal operation or unsupported feature in the language.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAssociative formulas are not supported by the language.Conjunctions are not supported by the language.Disjunctions are not supported by the language.Illegal access occurred.Tried to generate an illegal predicate.Dynamic instantiation did not work.Quantified formulas are not supported by the language.Rules are not supported by the language.Tried to instantiate an unsupported term. -
Method Summary
Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
LER_ILLEGAL_PREDICATE
Tried to generate an illegal predicate. -
LER_TERM_TYPE_NOT_SUPPORTED
Tried to instantiate an unsupported term. -
LER_RULES_NOT_SUPPORTED
Rules are not supported by the language. -
LER_DISJUNCTIONS_NOT_SUPPORTED
Disjunctions are not supported by the language. -
LER_CONJUNCTIONS_NOT_SUPPORTED
Conjunctions are not supported by the language. -
LER_ASSOCIATIVE_NOT_SUPPORTED
Associative formulas are not supported by the language. -
LER_QUANTIFICATION_NOT_SUPPORTED
Quantified formulas are not supported by the language. -
LER_INSTANTIATION
Dynamic instantiation did not work. -
LER_ILLEGAL_ACCESSS
Illegal access occurred.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<LanguageException.LanguageExceptionReason>
-