Package org.apache.bcel.generic

Examples of org.apache.bcel.generic.ExceptionThrower


        InstructionHandle pei = basicBlock.getExceptionThrower();
        Instruction ins = pei.getInstruction();

        // Get the exceptions that BCEL knows about.
        // Note that all of these are unchecked.
        ExceptionThrower exceptionThrower = (ExceptionThrower) ins;
        Class<?>[] exceptionList = exceptionThrower.getExceptions();
        for (Class<?> aExceptionList : exceptionList) {
            exceptionTypeSet.addImplicit(ObjectTypeFactory.getInstance(aExceptionList.getName()));
        }

        // Assume that an Error may be thrown by any instruction.
View Full Code Here

TOP

Related Classes of org.apache.bcel.generic.ExceptionThrower

Copyright © 2018 www.massapicom. 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.