FileDocCategorySizeDatePackage
DocumentHandlerException.javaAPI DocApache Lucene 1.91983Mon Feb 20 09:17:56 GMT 2006org.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);
            }
        }