FileDocCategorySizeDatePackage
DataException.javaAPI DocExample749Sun Sep 02 14:59:04 BST 2001com.oreilly.forum.adapter

DataException

public class DataException extends Exception
An exception that indicates some operation with the back-end data source failed.

Fields Summary
private Throwable
rootCause
Constructors Summary
public DataException(Throwable rootCause)
Wrap a DataException around another throwable.

        super(rootCause.getMessage());
        this.rootCause = rootCause;
    
public DataException(String message)
Construct an exception with the specified detail message.

        super(message);
    
Methods Summary
public java.lang.ThrowablegetRootCause()

return
a reference to the root exception or null.

        return this.rootCause;