Package org.apache.ftpserver.ftplet
Class FtpException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.ftpserver.ftplet.FtpException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AuthenticationFailedException
Ftplet exception class.
- Author:
- Apache MINA Project
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.FtpException(String msg) Constructs aFtpExceptionobject with a message.FtpException(String msg, Throwable th) Constructs aBaseExceptionobject with aThrowablecause.Constructs aFtpExceptionobject with aThrowablecause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FtpException
public FtpException()Default constructor. -
FtpException
Constructs aFtpExceptionobject with a message.- Parameters:
msg- a description of the exception
-
FtpException
Constructs aFtpExceptionobject with aThrowablecause.- Parameters:
th- the original cause
-
FtpException
Constructs aBaseExceptionobject with aThrowablecause.- Parameters:
msg- A description of the exceptionth- The original cause
-
-
Method Details
-
getRootCause
Deprecated.UseThrowable.getCause()insteadGet the root cause.- Returns:
- The root cause
-
Throwable.getCause()instead