org.qtitools.qti.exception
Class QTIEvaluationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.qtitools.qti.exception.QTIRuntimeException
                  extended by org.qtitools.qti.exception.QTIEvaluationException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
QTIBaseTypeException, QTICardinalityException

public class QTIEvaluationException
extends QTIRuntimeException

This exception is used for propagating errors during execution of assessment. Preferred way is to use more concrete exception (see sub-classes of this exception).

Author:
Jiri Kajaba
See Also:
Serialized Form

Constructor Summary
protected QTIEvaluationException()
          Constructs A new exception with null as its detailed message.
  QTIEvaluationException(java.lang.String message)
          Constructs A new exception with the specified detailed message.
  QTIEvaluationException(java.lang.String message, java.lang.Throwable cause)
          Constructs A new exception with the specified detailed message and cause.
  QTIEvaluationException(java.lang.Throwable cause)
          Constructs A new exception with the specified cause.
 
Method Summary
 
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

QTIEvaluationException

protected QTIEvaluationException()
Constructs A new exception with null as its detailed message.


QTIEvaluationException

public QTIEvaluationException(java.lang.String message)
Constructs A new exception with the specified detailed message.

Parameters:
message - the detail message

QTIEvaluationException

public QTIEvaluationException(java.lang.String message,
                              java.lang.Throwable cause)
Constructs A new exception with the specified detailed message and cause.

Parameters:
message - the detail message
cause - the cause

QTIEvaluationException

public QTIEvaluationException(java.lang.Throwable cause)
Constructs A new exception with the specified cause. If cause is not null detailed message is set from this cause.

Parameters:
cause - the cause


Copyright © 2009. All Rights Reserved.