Package net.sf.tweety.lp.asp.reasoner
Class SolverException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- net.sf.tweety.lp.asp.reasoner.SolverException
-
- All Implemented Interfaces:
java.io.Serializable
public class SolverException extends java.lang.ExceptionThis class models a generic exception for ASP solvers.- Author:
- Thomas Vengels, Tim Janus
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intSE_CANNOT_FIND_SOLVERstatic intSE_CANNOT_OPEN_INPUTstatic intSE_ERRORstatic intSE_IO_FAILEDstatic intSE_NO_BINARYstatic intSE_PERMISSIONSstatic intSE_SYNTAX_ERRORprivate static longserialVersionUIDintsolverErrorCodejava.lang.StringsolverErrorText
-
Constructor Summary
Constructors Constructor Description SolverException(java.lang.String text, int exceptionCode)Creates a new SolverException with the given message.
-
Method Summary
Modifier and Type Method Description java.lang.StringtoString()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
SE_ERROR
public static int SE_ERROR
-
SE_IO_FAILED
public static int SE_IO_FAILED
-
SE_NO_BINARY
public static int SE_NO_BINARY
-
SE_SYNTAX_ERROR
public static int SE_SYNTAX_ERROR
-
SE_CANNOT_OPEN_INPUT
public static int SE_CANNOT_OPEN_INPUT
-
SE_CANNOT_FIND_SOLVER
public static int SE_CANNOT_FIND_SOLVER
-
SE_PERMISSIONS
public static int SE_PERMISSIONS
-
solverErrorText
public final java.lang.String solverErrorText
-
solverErrorCode
public final int solverErrorCode
-
-