Interface MaleStringActionSocket

    • Method Detail

      • setValue

        void setValue​(@Nonnull
                      java.lang.String value)
               throws JmriException
        Set a string value.

        This method must ensure that the value is not a Double.NaN, negative infinity or positive infinity. If that is the case, it must throw an IllegalArgumentException before checking if an error has occured.

        Specified by:
        setValue in interface StringAction
        Parameters:
        value - the value.
        Throws:
        JmriException - when an exception occurs