206 * are in Java Virtual Machine class file format.
207 *
208 * @throws java.lang.UnsupportedOperationException if
209 * the target virtual machine does not support this
210 * operation.
211 * <UL>
212 * <LI>If {@link #canRedefineClasses() canRedefineClasses()}
213 * is false any call of this method will throw this exception.
214 * <LI>If {@link #canAddMethod() canAddMethod()} is false
215 * attempting to add a method will throw this exception.
216 * <LI>If {@link #canUnrestrictedlyRedefineClasses()
217 * canUnrestrictedlyRedefineClasses()}
218 * is false, attempting any of the following will throw
219 * this exception
220 * <UL>
221 * <LI>changing the schema (the fields)
222 * <LI>changing the hierarchy (superclasses, interfaces)
223 * <LI>deleting a method
224 * <LI>changing class modifiers
225 * <LI>changing method modifiers
226 * <LI>changing the {@code NestHost} or {@code NestMembers} class attributes
227 * </UL>
228 * </UL>
229 *
230 * @throws java.lang.NoClassDefFoundError if the bytes
231 * don't correspond to the reference type (the names
232 * don't match).
233 *
234 * @throws java.lang.VerifyError if a "verifier" detects
235 * that a class, though well formed, contains an internal
236 * inconsistency or security problem.
237 *
238 * @throws java.lang.ClassFormatError if the bytes
239 * do not represent a valid class.
240 *
241 * @throws java.lang.ClassCircularityError if a
242 * circularity has been detected while initializing a class.
243 *
244 * @throws java.lang.UnsupportedClassVersionError if the
245 * major and minor version numbers in bytes
246 * are not supported by the VM.
|
206 * are in Java Virtual Machine class file format.
207 *
208 * @throws java.lang.UnsupportedOperationException if
209 * the target virtual machine does not support this
210 * operation.
211 * <UL>
212 * <LI>If {@link #canRedefineClasses() canRedefineClasses()}
213 * is false any call of this method will throw this exception.
214 * <LI>If {@link #canAddMethod() canAddMethod()} is false
215 * attempting to add a method will throw this exception.
216 * <LI>If {@link #canUnrestrictedlyRedefineClasses()
217 * canUnrestrictedlyRedefineClasses()}
218 * is false, attempting any of the following will throw
219 * this exception
220 * <UL>
221 * <LI>changing the schema (the fields)
222 * <LI>changing the hierarchy (superclasses, interfaces)
223 * <LI>deleting a method
224 * <LI>changing class modifiers
225 * <LI>changing method modifiers
226 * <LI>changing the {@code NestHost}, {@code NestMembers}, or {@code Record} class attributes
227 * </UL>
228 * </UL>
229 *
230 * @throws java.lang.NoClassDefFoundError if the bytes
231 * don't correspond to the reference type (the names
232 * don't match).
233 *
234 * @throws java.lang.VerifyError if a "verifier" detects
235 * that a class, though well formed, contains an internal
236 * inconsistency or security problem.
237 *
238 * @throws java.lang.ClassFormatError if the bytes
239 * do not represent a valid class.
240 *
241 * @throws java.lang.ClassCircularityError if a
242 * circularity has been detected while initializing a class.
243 *
244 * @throws java.lang.UnsupportedClassVersionError if the
245 * major and minor version numbers in bytes
246 * are not supported by the VM.
|