Class ParserInitializationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.commons.net.ftp.parser.ParserInitializationException
-
- All Implemented Interfaces:
java.io.Serializable
public class ParserInitializationException extends java.lang.RuntimeException
This class encapsulates all errors that may be thrown by the process of an FTPFileEntryParserFactory creating and instantiating an FTPFileEntryParser.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParserInitializationException(java.lang.String message)
Constucts a ParserInitializationException with just a messageParserInitializationException(java.lang.String message, java.lang.Throwable rootCause)
Constucts a ParserInitializationException with a message and a root cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Throwable
getRootCause()
Deprecated.useThrowable.getCause()
instead
-
-
-
Constructor Detail
-
ParserInitializationException
public ParserInitializationException(java.lang.String message)
Constucts a ParserInitializationException with just a message- Parameters:
message
- Exception message
-
ParserInitializationException
public ParserInitializationException(java.lang.String message, java.lang.Throwable rootCause)
Constucts a ParserInitializationException with a message and a root cause.- Parameters:
message
- Exception messagerootCause
- root cause throwable that caused this to be thrown
-
-