Class TransmissionResult<T>

  • Type Parameters:
    T - the return of transmission execution.
    All Implemented Interfaces:
    ITransmissionResult<T>

    public class TransmissionResult<T>
    extends Object
    implements ITransmissionResult<T>
    Transmission result holder.
    Since:
    8.0.0
    Version:
    $Revision: 17047 $ $Date: 2015-03-03 11:22:22 -0300 (Tue, 03 Mar 2015) $
    • Constructor Detail

      • TransmissionResult

        public TransmissionResult​(T result)
        Creates a new instance with the given result.
        Parameters:
        result - the result.
        Since:
        8.0.0
      • TransmissionResult

        public TransmissionResult​(Exception exception)
        Creates a new instance with the exception thrown during the execution.
        Parameters:
        exception - the exception.
        Since:
        8.0.0