Package org.smtlib.impl
Class Response.Error
java.lang.Object
org.smtlib.impl.Pos.Posable
org.smtlib.impl.Pos.Printable
org.smtlib.impl.Response.Error
- All Implemented Interfaces:
INode,IPos.IPosable,IResponse,IResponse.IError
- Enclosing class:
Response
Implements the IResponse.IError interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.smtlib.IResponse
IResponse.IAssertionsResponse, IResponse.IAssignmentResponse, IResponse.IAttributeList, IResponse.IError, IResponse.IFactory, IResponse.IPair<T1,T2>, IResponse.IProofResponse, IResponse.IUnsatAssumptionsResponse, IResponse.IUnsatCoreResponse, IResponse.IValueResponse -
Field Summary
Fields inherited from class org.smtlib.impl.Pos.Posable
pos -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> TThe accept method corresponding to IVisitor, to be implemented in each subclass as { return v.visit(this); }errorMsg()Returns the error message held by this responsebooleanisError()Returns true if the response is an error responsebooleanisOK()Returns true if the response is a SUCCESS response<T extends IPos.IPosable>
TSetting the textual position of the commandMethods inherited from class org.smtlib.impl.Pos.Printable
toStringMethods inherited from class org.smtlib.impl.Pos.Posable
equals, hashCode, pos, setPosMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.smtlib.IPos.IPosable
setPosMethods inherited from interface org.smtlib.IResponse.IError
pos
-
Constructor Details
-
Error
-
Error
-
-
Method Details
-
isOK
public boolean isOK()Description copied from interface:IResponseReturns true if the response is a SUCCESS response -
isError
public boolean isError()Description copied from interface:IResponseReturns true if the response is an error response -
errorMsg
Description copied from interface:IResponse.IErrorReturns the error message held by this response- Specified by:
errorMsgin interfaceIResponse.IError
-
setPos
Setting the textual position of the command -
accept
Description copied from interface:INodeThe accept method corresponding to IVisitor, to be implemented in each subclass as { return v.visit(this); }- Specified by:
acceptin interfaceINode- Type Parameters:
T- the return type desired from the visit methods- Parameters:
v- the visitor class- Returns:
- the value returned by the visit method
- Throws:
IVisitor.VisitorException
-