*
* @throws fr.xlim.ssd.capmanipulator.library.exceptions.UnableToReadCapFileException
*
*/
public ExceptionHandlerInfo load(CapInputStream in) throws UnableToReadCapFileException {
ExceptionHandlerInfo exceptionHandlerInfo = new ExceptionHandlerInfo();
exceptionHandlerInfo.setStartOffset(in.readShort());
exceptionHandlerInfo.setBitfield(in.readShort());
exceptionHandlerInfo.setHandlerOffset(in.readShort());
exceptionHandlerInfo.setCatchTypeIndex(in.readShort());
return exceptionHandlerInfo;
}