Class TransportException

  • All Implemented Interfaces:
    java.io.Serializable

    public class TransportException
    extends ReplicationException
    This exception is thrown by a transport handler when the underlying transport (e.g. HTTP) received an unexpected answer from the remote peer.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      TransportException​(int code, java.lang.String message)
      Create a new instance of this class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ReplicationResult getResult()
      Return the replication result.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TransportException

        public TransportException​(int code,
                                  java.lang.String message)
        Create a new instance of this class.
        Parameters:
        code - error code
        message - error message
    • Method Detail

      • getResult

        public ReplicationResult getResult()
        Return the replication result.
        Returns:
        replication result