public class SemanticInterpretationException extends Exception
Modifier and Type | Field and Description |
---|---|
private Term |
object
Object of the exception
|
private String |
reason
Reason of the exception
|
Constructor and Description |
---|
SemanticInterpretationException(String reason)
Creates a new SemanticInterpretationException
|
SemanticInterpretationException(String reason,
Term object)
Creates a new SemanticInterpretationException
|
Modifier and Type | Method and Description |
---|---|
Term |
getObject()
Returns the object of the exception
|
String |
getReason()
Returns the reason of the exception
|
protected void |
setObject(Term object)
Sets the object of the exception
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private String reason
private Term object
public SemanticInterpretationException(String reason)
reason
- the reason of the exceptionpublic Term getObject()
public String getReason()
protected void setObject(Term object)
object
- the object of the exception