org.qtitools.qti.exception
Class QTIValidationException

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.QTIValidationException
All Implemented Interfaces:
java.io.Serializable

public class QTIValidationException
extends QTIRuntimeException

This exception is used for propagating validation problems. This class is equivalent to QTIEvaluationExpression for validation.

Author:
Jiri Kajaba
See Also:
Serialized Form

Constructor Summary
QTIValidationException(ValidationItem item)
          Constructs A new exception with the specified detailed message.
QTIValidationException(ValidationResult result)
          Constructs A new exception with the specified detailed message.
 
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

QTIValidationException

public QTIValidationException(ValidationItem item)
Constructs A new exception with the specified detailed message. Detailed message is created from given ValidationItem.

Parameters:
item - ValidationItem

QTIValidationException

public QTIValidationException(ValidationResult result)
Constructs A new exception with the specified detailed message. Detailed message is created from given ValidationResult.

Parameters:
result - ValidationResult


Copyright © 2009. All Rights Reserved.