Package org.jf.util

Examples of org.jf.util.ExceptionWithContext


                    public Number readItem(int index) {
                        return dexFile.readLong(elementsStart + index*8);
                    }
                };
            default:
                throw new ExceptionWithContext("Invalid element width: %d", elementWidth);
        }
    }
View Full Code Here


                return new BuilderDoubleEncodedValue(0);
            case 'L':
            case '[':
                return BuilderNullEncodedValue.INSTANCE;
            default:
                throw new ExceptionWithContext("Unrecognized type: %s", type);
        }
    }
View Full Code Here

            case ReferenceType.STRING:
                return stringSection.getItemIndex((StringRef)referenceInstruction.getReference());
            case ReferenceType.TYPE:
                return typeSection.getItemIndex((TypeRef)referenceInstruction.getReference());
            default:
                throw new ExceptionWithContext("Unknown reference type: %d",
                        referenceInstruction.getOpcode().referenceType);
        }
    }
View Full Code Here

TOP

Related Classes of org.jf.util.ExceptionWithContext

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.