org.apache.servicemix.ftp
Class ConnectionRefusedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.jbi.JBIException
              extended by javax.jbi.messaging.MessagingException
                  extended by org.apache.servicemix.ftp.ConnectionRefusedException
All Implemented Interfaces:
java.io.Serializable

public class ConnectionRefusedException
extends javax.jbi.messaging.MessagingException

Exception thrown if the connection could not be established.

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

Constructor Summary
ConnectionRefusedException(int code)
           
 
Method Summary
 int getCode()
           
 
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

ConnectionRefusedException

public ConnectionRefusedException(int code)
Method Detail

getCode

public int getCode()
Returns:
the status code for why the connection was refused


Copyright © 2005-2011 FuseSource. All Rights Reserved.