Code example for RC5ParameterSpec

0
            RC5ParameterSpec rc5Params = new RC5ParameterSpec(1, 2, 8, iv_1); 
            throw new Exception("expected IllegalArgumentException"); 
        } catch (IllegalArgumentException iae) {} 
 
        try { 
            RC5ParameterSpec rc5Params = new RC5ParameterSpec(1, 2, 8, iv_2, 3); 
            throw new Exception("expected IllegalArgumentException"); 
        } catch (IllegalArgumentException iae) {} 
 
    } 
}