Package cn.wensiqun.asmsupport.exception

Examples of cn.wensiqun.asmsupport.exception.MethodInvokeException


            getExecuteBlock(), caller, methodName, arguments);
    }

    protected final void invokeVerify(AClass a){
        if(a.isInterface()){
            throw new MethodInvokeException("the class " + getExecuteBlock().getMethodOwner() + " is a interface and interfaces have no static methods");
        }
       
        if(a.isPrimitive()){
            throw new MethodInvokeException("the class " + getExecuteBlock().getMethodOwner() + " is a primitive and primitive cannot as a method invoker owner");
        }
    }
View Full Code Here

TOP

Related Classes of cn.wensiqun.asmsupport.exception.MethodInvokeException

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.