edu.stanford.smi.protegex.owl.inference.dig.exception
Class DIGErrorException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byedu.stanford.smi.protegex.owl.inference.dig.exception.DIGReasonerException
              extended byedu.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

Field Summary
private  ArrayList errorList
           
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
DIGErrorException(ArrayList errorList)
           
 
Method Summary
 DIGError getDIGError(int index)
          Gets the DIGError object associated with this exception.
 int getErrorCode(int index)
          Gets the exception code associated with this DIGErrorException
 Collection getErrors()
           
 String getMessage(int index)
          Gets the exception message of the specified exception.
 int getNumberOfErrors()
          Gets the number of DIGErrors
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

errorList

private ArrayList errorList
Constructor Detail

DIGErrorException

public DIGErrorException(ArrayList errorList)
Method Detail

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()