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 SummaryConstructorsConstructorDescriptionParserInitializationException(String message) Constructs a ParserInitializationException with just a messageParserInitializationException(String message, Throwable rootCause) Constucts a ParserInitializationException with a message and a root cause.
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
ParserInitializationExceptionConstructs a ParserInitializationException with just a message- Parameters:
- message- Exception message
 
- 
ParserInitializationExceptionConstucts a ParserInitializationException with a message and a root cause.- Parameters:
- message- Exception message
- rootCause- root cause throwable that caused this to be thrown
 
 
- 
- 
Method Details- 
getRootCauseDeprecated.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