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 org.apache.camel.RuntimeCamelException

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

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

getCode

public int getCode()
Return the failure code


getReason

public String getReason()
Return the failure reason



Copyright © 2007 Apache Software Foundation. All Rights Reserved.