Class ParserInitializationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.commons.net.ftp.parser.ParserInitializationException
- All Implemented Interfaces:
Serializable
This class encapsulates all errors that may be thrown by the process of an FTPFileEntryParserFactory creating and instantiating an FTPFileEntryParser.
- See Also:
-
Constructor Summary
ConstructorDescriptionParserInitializationException
(String message) Constructs a ParserInitializationException with just a messageParserInitializationException
(String message, Throwable rootCause) Constucts a ParserInitializationException with a message and a root cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ParserInitializationException
Constructs a ParserInitializationException with just a message- Parameters:
message
- Exception message
-
ParserInitializationException
Constucts a ParserInitializationException with a message and a root cause.- Parameters:
message
- Exception messagerootCause
- root cause throwable that caused this to be thrown
-
-
Method Details
-
getRootCause
Deprecated.useThrowable.getCause()
insteadreturns the root cause of this exception or null if no root cause was specified.- Returns:
- the root cause of this exception being thrown
-
Throwable.getCause()
instead