Tuesday, March 10, 2015

LinkingConstraintException

com.sun.org.apache.bcel.internal.verifier.exc.LinkingConstraintException

LinkingConstraintException is described in the javadoc comments as:

Instances of this class are thrown by BCEL's class file verifier 'JustIce' when a class file to verify does not pass the verification pass 3 because of a violation of a constraint that is usually only verified at run-time (pass 4). The Java Virtual Machine Specification, 2nd edition, states that certain constraints are usually verified at run-time for performance reasons (the verification of those constraints requires loading in and recursively verifying referenced classes) that conceptually belong to pass 3; to be precise, that conceptually belong to the data flow analysis of pass 3 (called pass 3b in JustIce). These are the checks necessary for resolution: Compare pages 142-143 ('4.9.1 The Verification Process') and pages 50-51 ('2.17.3 Linking: Verification, Preparation, and Resolution') of the above mentioned book. TODO: At this time, this class is not used in JustIce.
version: $Id: LinkingConstraintException.java,v 1.1.1.1 2001/10/29 20:00:33 jvanzyl Exp $ author: Enver Haase

Where is this exception thrown?

Following, is a list of exception messages cross-referenced to the source code responsible for throwing them. Click on the method link to view the code and see how the exception is thrown.

  • LinkingConstraintException is not thrown within any available source code.

How is this exception thrown?

The following sub-sections identify where this exception is thrown, and how (or why) the code is throwing the exception.

Any source code quoted in this section is subject to the Java Research License unless stated otherwise.

  • LinkingConstraintException is not thrown within the available source code.

No comments:

Post a Comment