Inquiry inquiryCDB = (Inquiry) cdb;
if (inquiryCDB.isEVPD())
{
VPDPage vpdPage = getInquiryDataRegistry().getVPDPage(inquiryCDB.getPageCode());
if (vpdPage != null)
{
try
{
this.writeData(vpdPage.encode());
}
catch (IOException e)
{
_logger.debug("cound not encode vpd page in task: " + this);
throw new RuntimeException("Could not encode VPD page", e);