public SortResponseControl(String id,boolean criticality,byte[] value) throws IOException {
  super(id,criticality,value);
  BerDecoder ber=new BerDecoder(value,0,value.length);
  ber.parseSeq(null);
  resultCode=ber.parseEnumeration();
  if ((ber.bytesLeft() > 0) && (ber.peekByte() == Ber.ASN_CONTEXT)) {
    badAttrId=ber.parseStringWithTag(Ber.ASN_CONTEXT,true,null);
  }
}

public SortResponseControl ( String id , boolean criticality , byte [ ] value ) throws IOException { super ( id , criticality , value ) ; BerDecoder ber = new BerDecoder ( value , 0 , value . length ) ; ber . parseSeq ( null ) ; resultCode = ber . parseEnumeration ( ) ; if ( ( ber . bytesLeft ( ) > 0 ) && ( ber . peekByte ( ) == Ber . ASN_CONTEXT ) ) { badAttrId = ber . parseStringWithTag ( Ber . ASN_CONTEXT , true , null ) ; } }
constructs a control to indicate the outcome of a sort request .
