org.apache.camel.component.file.remote
Class FtpOperationFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.camel.RuntimeCamelException
                  extended by org.apache.camel.component.file.remote.FtpOperationFailedException
All Implemented Interfaces:
Serializable

public class FtpOperationFailedException
extends RuntimeCamelException

Exception thrown in case of last FTP operation failed.

Version:
$Revision: 695030 $
See Also:
Serialized Form

Constructor Summary
FtpOperationFailedException(int code, String reason)
           
FtpOperationFailedException(int code, String reason, String message)
           
 
Method Summary
 int getCode()
          Return the FTP failure code
 String getReason()
          Return the FTP failure reason
 
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

FtpOperationFailedException

public FtpOperationFailedException(int code,
                                   String reason)

FtpOperationFailedException

public FtpOperationFailedException(int code,
                                   String reason,
                                   String message)
Method Detail

getCode

public int getCode()
Return the FTP failure code


getReason

public String getReason()
Return the FTP failure reason



Apache CAMEL