FileDocCategorySizeDatePackage
DocumentHandlerException.javaAPI DocApache Lucene 2.1.02171Wed Feb 14 10:45:44 GMT 2007org.apache.lucene.ant

DocumentHandlerException

public class DocumentHandlerException extends Exception

Fields Summary
private Throwable
cause
Constructors Summary
public DocumentHandlerException()
Default constructor.

        super();
    
public DocumentHandlerException(String message)
Constructs with message.

        super(message);
    
public DocumentHandlerException(Throwable cause)
Constructs with chained exception.

        super(cause.toString());
        this.cause = cause;
    
Methods Summary
public java.lang.ThrowablegetException()
Retrieves nested exception.

        return cause;
    
public voidprintStackTrace()

        printStackTrace(System.err);
    
public voidprintStackTrace(java.io.PrintStream ps)

        synchronized (ps) {
            super.printStackTrace(ps);
            if (cause != null) {
                ps.println("--- Nested Exception ---");
                cause.printStackTrace(ps);
            }
        }
    
public voidprintStackTrace(java.io.PrintWriter pw)

        synchronized (pw) {
            super.printStackTrace(pw);
            if (cause != null) {
                pw.println("--- Nested Exception ---");
                cause.printStackTrace(pw);
            }
        }