Examples of ExceptionHandlerInfo


Examples of fr.xlim.ssd.capmanipulator.library.ExceptionHandlerInfo

     *
     * @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;
    }
View Full Code Here

Examples of fr.xlim.ssd.capmanipulator.library.ExceptionHandlerInfo

        methodComponent.setHandlerCount(in.readByte());

        methodComponent.setExceptionHandlers(new ArrayList<ExceptionHandlerInfo>(methodComponent.getHandlerCount()));

        for (int i = 0; i < methodComponent.getHandlerCount(); i++) {
            ExceptionHandlerInfo exceptionHandlerInfo = new ExceptionHandlerInfoRead().load(in);
            methodComponent.getExceptionHandlers().add(exceptionHandlerInfo);
        }

        methodComponent.setMethods(new ArrayList<MethodInfo>(methodComponent.getOffsets().size()));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.