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:
Serializable
public class SolverException extends Exception
This 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_ERRORintsolverErrorCodeStringsolverErrorText
-
Constructor Summary
Constructors Constructor Description SolverException(String text, int exceptionCode)Creates a new SolverException with the given message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Field Detail
-
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 String solverErrorText
-
solverErrorCode
public final int solverErrorCode
-
-
Constructor Detail
-
SolverException
public SolverException(String text, int exceptionCode)
Creates a new SolverException with the given message.- Parameters:
text- the text for the exceptionexceptionCode- the exception code
-
-