// This will generate a PROTOCOL_ERROR
throw new DecoderException( I18n.err( I18n.ERR_04069 ) );
}
BerValue value = tlv.getValue();
try
{
int messageId = IntegerDecoder.parse( value, 0, Integer.MAX_VALUE );
container.setMessageId( messageId );
if ( IS_DEBUG )
{
LOG.debug( "Ldap Message Id has been decoded : " + messageId );
}
}
catch ( IntegerDecoderException ide )
{
LOG.error( I18n.err( I18n.ERR_04070, Strings.dumpBytes( value.getData() ), ide
.getLocalizedMessage() ) );
// This will generate a PROTOCOL_ERROR
throw new DecoderException( ide.getMessage() );
}