/** * Constructs a new <CODE>SnmpInt</CODE> from the specified <CODE>Enumerated</CODE> value. * @param v The initialization value. * @exception IllegalArgumentException The specified value is smaller than <CODE>Integer.MIN_VALUE</CODE> * or larger than <CODE>Integer.MAX_VALUE</CODE>. * @see Enumerated */ public SnmpInt(Enumerated v) throws IllegalArgumentException { this(v.intValue()) ; }
/** * Build an <code>EnumRowStatus</code> from an <code>Enumerated</code>. * @param valueIndex should be either 0 (<i>unspecified</i>), or one of * the values defined in RFC 2579. * @exception IllegalArgumentException if the given * <code>valueIndex</code> is not valid. **/ public EnumRowStatus(Enumerated valueIndex) throws IllegalArgumentException { this(valueIndex.intValue()); }