Class TransportException

  • All Implemented Interfaces:
    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 Detail

      • TransportException

        public TransportException​(int code,
                                  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