org.apache.ftpserver.ftplet
Class FtpException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.ftpserver.ftplet.FtpException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AuthenticationFailedException, DataConnectionException

public class FtpException
extends Exception

Ftplet exception class.

Author:
Apache MINA Project
See Also:
Serialized Form

Constructor Summary
FtpException()
          Default constructor.
FtpException(String msg)
          Constructs a FtpException object with a message.
FtpException(String msg, Throwable th)
          Constructs a BaseException object with a Throwable cause.
FtpException(Throwable th)
          Constructs a FtpException object with a Throwable cause.
 
Method Summary
 Throwable getRootCause()
          Deprecated. Use Throwable.getCause() instead
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FtpException

public FtpException()
Default constructor.


FtpException

public FtpException(String msg)
Constructs a FtpException object with a message.

Parameters:
msg - a description of the exception

FtpException

public FtpException(Throwable th)
Constructs a FtpException object with a Throwable cause.

Parameters:
th - the original cause

FtpException

public FtpException(String msg,
                    Throwable th)
Constructs a BaseException object with a Throwable cause.

Parameters:
msg - A description of the exception
th - The original cause
Method Detail

getRootCause

public Throwable getRootCause()
Deprecated. Use Throwable.getCause() instead

Get the root cause.

Returns:
The root cause


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.