public BandWidth createBandwidth(String modifier,int value){
  BandwidthField bandWidthImpl=new BandwidthField();
  try {
    bandWidthImpl.setType(modifier);
    bandWidthImpl.setValue(value);
  }
 catch (  SdpException s) {
    s.printStackTrace();
  }
  return bandWidthImpl;
}

public BandWidth createBandwidth ( String modifier , int value ) { BandwidthField bandWidthImpl = new BandwidthField ( ) ; try { bandWidthImpl . setType ( modifier ) ; bandWidthImpl . setValue ( value ) ; } catch ( SdpException s ) { s . printStackTrace ( ) ; } return bandWidthImpl ; }
returns bandwidth object with the specified values .
