com.alibaba.dubbo.remoting
Class RemotingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.alibaba.dubbo.remoting.RemotingException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ExecutionException, TimeoutException

public class RemotingException
extends Exception

RemotingException. (API, Prototype, ThreadSafe)

Author:
qian.lei
See Also:
ResponseFuture.get(), ResponseFuture.get(int), Endpoint.send(Object, boolean), ExchangeChannel.request(Object), ExchangeChannel.request(Object, int), Transporter.bind(com.alibaba.dubbo.common.URL, ChannelHandler), Transporter.connect(com.alibaba.dubbo.common.URL, ChannelHandler), Serialized Form

Constructor Summary
RemotingException(Channel channel, String msg)
           
RemotingException(Channel channel, String message, Throwable cause)
           
RemotingException(Channel channel, Throwable cause)
           
RemotingException(InetSocketAddress localAddress, InetSocketAddress remoteAddress, String message)
           
RemotingException(InetSocketAddress localAddress, InetSocketAddress remoteAddress, String message, Throwable cause)
           
RemotingException(InetSocketAddress localAddress, InetSocketAddress remoteAddress, Throwable cause)
           
 
Method Summary
 InetSocketAddress getLocalAddress()
           
 InetSocketAddress getRemoteAddress()
           
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemotingException

public RemotingException(Channel channel,
                         String msg)

RemotingException

public RemotingException(InetSocketAddress localAddress,
                         InetSocketAddress remoteAddress,
                         String message)

RemotingException

public RemotingException(Channel channel,
                         Throwable cause)

RemotingException

public RemotingException(InetSocketAddress localAddress,
                         InetSocketAddress remoteAddress,
                         Throwable cause)

RemotingException

public RemotingException(Channel channel,
                         String message,
                         Throwable cause)

RemotingException

public RemotingException(InetSocketAddress localAddress,
                         InetSocketAddress remoteAddress,
                         String message,
                         Throwable cause)
Method Detail

getLocalAddress

public InetSocketAddress getLocalAddress()

getRemoteAddress

public InetSocketAddress getRemoteAddress()


Copyright © 2012–2017 Alibaba. All rights reserved.