uk.ac.manchester.cs.owl.inference.dig11
Class DIGErrorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by uk.ac.manchester.cs.owl.inference.dig11.DIGErrorException
All Implemented Interfaces:
java.io.Serializable

public class DIGErrorException
extends java.lang.Exception

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 21-Nov-2006

See Also:
Serialized Form

Constructor Summary
DIGErrorException(java.util.List 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
 java.util.Collection getErrors()
           
 java.lang.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
 

Constructor Detail

DIGErrorException

public DIGErrorException(java.util.List errorList)
Method Detail

getErrorCode

public int getErrorCode(int index)
Gets the exception code associated with this DIGErrorException

Returns:
An integer exception code.

getMessage

public java.lang.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 java.util.Collection getErrors()