org.qtitools.qti.exception
Class QTIParseException

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

public class QTIParseException
extends QTIRuntimeException

This exception is used for propagating parsing errors and errors during conversion values from String to some BaseType type.

Author:
Jiri Kajaba
See Also:
Serialized Form

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

QTIParseException

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


QTIParseException

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

Parameters:
message - the detail message

QTIParseException

public QTIParseException(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

QTIParseException

public QTIParseException(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.