FileDocCategorySizeDatePackage
ParserInitializationException.javaAPI DocApache Commons NET 1.4.1 API1898Sat Dec 03 10:05:48 GMT 2005org.apache.commons.net.ftp.parser

ParserInitializationException

public class ParserInitializationException extends RuntimeException
This class encapsulates all errors that may be thrown by the process of an FTPFileEntryParserFactory creating and instantiating an FTPFileEntryParser.

Fields Summary
private final Throwable
rootCause
Root exception that caused this to be thrown
Constructors Summary
public ParserInitializationException(String message)
Constucts a ParserInitializationException with just a message

param
message Exception message

        super(message);
        this.rootCause = null;
    
public ParserInitializationException(String message, Throwable rootCause)
Constucts a ParserInitializationException with a message and a root cause.

param
message Exception message
param
rootCause root cause throwable that caused this to be thrown

        super(message);
        this.rootCause = rootCause;
    
Methods Summary
public java.lang.ThrowablegetRootCause()
returns the root cause of this exception or null if no root cause was specified.

return
the root cause of this exception being thrown

        return this.rootCause;