org.apache.commons.net.ftp.parser
Class ParserInitializationException
RuntimeException
org.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.
private Throwable | rootCause - Root exception that caused this to be thrown
|
Throwable | getRootCause() - returns the root cause of this exception or null
if no root cause was specified.
|
rootCause
private final Throwable rootCause
Root exception that caused this to be thrown
ParserInitializationException
public ParserInitializationException(String message)
Constucts a ParserInitializationException with just a message
message
- Exception message
ParserInitializationException
public ParserInitializationException(String message,
Throwable rootCause)
Constucts a ParserInitializationException with a message
and a root cause.
message
- Exception messagerootCause
- root cause throwable that caused
this to be thrown
getRootCause
public Throwable getRootCause()
returns the root cause of this exception or null
if no root cause was specified.
- the root cause of this exception being thrown