edu.stanford.smi.protegex.owl.inference.dig.exception
Class DIGErrorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.stanford.smi.protegex.owl.inference.dig.exception.DIGReasonerException
edu.stanford.smi.protegex.owl.inference.dig.exception.DIGErrorException
- All Implemented Interfaces:
- Serializable
- public class DIGErrorException
- extends DIGReasonerException
User: matthewhorridge
The Univeristy Of Manchester
Medical Informatics Group
Date: Jun 14, 2004
matthew.horridge@cs.man.ac.uk
www.cs.man.ac.uk/~horridgm
- See Also:
- Serialized Form
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
errorList
private ArrayList errorList
DIGErrorException
public DIGErrorException(ArrayList errorList)
getErrorCode
public int getErrorCode(int index)
- Gets the exception code associated with this
DIGErrorException
- Returns:
- An integer exception code.
getMessage
public String getMessage(int index)
- Gets the exception message of the specified
exception.
- Parameters:
index
- The index of the exception
- Returns:
- The exception message
getDIGError
public DIGError getDIGError(int index)
- Gets the
DIGError
object
associated with this exception.
getNumberOfErrors
public int getNumberOfErrors()
- Gets the number of DIGErrors
getErrors
public Collection getErrors()