32 <p>
33 <font size="+1"><b>Global Exceptions:</b></font>
34 <p>
35 This section documents exceptions which apply to the entire API and are thus
36 not documented on individual methods.
37
38 <blockquote>
39 <p>
40 <b>{@link com.sun.jdi.VMMismatchException}</b>
41 <p>
42 Any method on a {@link com.sun.jdi.Mirror} that takes a <code>Mirror</code> as an
43 parameter directly or indirectly (e.g., as a element in a <code>List</code>) will
44 throw {@link com.sun.jdi.VMMismatchException} if the mirrors are from different
45 virtual machines.
46 <p>
47 <b>{@link java.lang.NullPointerException}</b>
48 <p>
49 Any method which takes a {@link java.lang.Object} as an parameter will throw
50 {@link java.lang.NullPointerException} if null is passed directly or indirectly
51 -- unless null is explicitly mentioned as a valid parameter.
52 <p>
53 </blockquote>
54 NOTE: The exceptions below may be thrown whenever the specified
55 conditions are met but a guarantee that they are thrown only
56 exists when a valid result cannot be returned.
57 <blockquote>
58 <p>
59 <b>{@link com.sun.jdi.VMDisconnectedException}</b>
60 <p>
61 Any method on {@link com.sun.jdi.ObjectReference}, {@link com.sun.jdi.ReferenceType},
62 {@link com.sun.jdi.request.EventRequest}, {@link com.sun.jdi.StackFrame}, or
63 {@link com.sun.jdi.VirtualMachine} or which takes one of these directly or indirectly
64 as an parameter may throw {@link com.sun.jdi.VMDisconnectedException} if the target VM
65 is disconnected and the {@link com.sun.jdi.event.VMDisconnectEvent} has been or is available
66 to be read from the {@link com.sun.jdi.event.EventQueue}.
67 <p>
68 <b>{@link com.sun.jdi.VMOutOfMemoryException}</b>
69 <p>
70 Any method on {@link com.sun.jdi.ObjectReference}, {@link com.sun.jdi.ReferenceType},
71 {@link com.sun.jdi.request.EventRequest}, {@link com.sun.jdi.StackFrame}, or
72 {@link com.sun.jdi.VirtualMachine} or which takes one of these directly or indirectly
|
32 <p>
33 <font size="+1"><b>Global Exceptions:</b></font>
34 <p>
35 This section documents exceptions which apply to the entire API and are thus
36 not documented on individual methods.
37
38 <blockquote>
39 <p>
40 <b>{@link com.sun.jdi.VMMismatchException}</b>
41 <p>
42 Any method on a {@link com.sun.jdi.Mirror} that takes a <code>Mirror</code> as an
43 parameter directly or indirectly (e.g., as a element in a <code>List</code>) will
44 throw {@link com.sun.jdi.VMMismatchException} if the mirrors are from different
45 virtual machines.
46 <p>
47 <b>{@link java.lang.NullPointerException}</b>
48 <p>
49 Any method which takes a {@link java.lang.Object} as an parameter will throw
50 {@link java.lang.NullPointerException} if null is passed directly or indirectly
51 -- unless null is explicitly mentioned as a valid parameter.
52 </blockquote>
53 NOTE: The exceptions below may be thrown whenever the specified
54 conditions are met but a guarantee that they are thrown only
55 exists when a valid result cannot be returned.
56 <blockquote>
57 <p>
58 <b>{@link com.sun.jdi.VMDisconnectedException}</b>
59 <p>
60 Any method on {@link com.sun.jdi.ObjectReference}, {@link com.sun.jdi.ReferenceType},
61 {@link com.sun.jdi.request.EventRequest}, {@link com.sun.jdi.StackFrame}, or
62 {@link com.sun.jdi.VirtualMachine} or which takes one of these directly or indirectly
63 as an parameter may throw {@link com.sun.jdi.VMDisconnectedException} if the target VM
64 is disconnected and the {@link com.sun.jdi.event.VMDisconnectEvent} has been or is available
65 to be read from the {@link com.sun.jdi.event.EventQueue}.
66 <p>
67 <b>{@link com.sun.jdi.VMOutOfMemoryException}</b>
68 <p>
69 Any method on {@link com.sun.jdi.ObjectReference}, {@link com.sun.jdi.ReferenceType},
70 {@link com.sun.jdi.request.EventRequest}, {@link com.sun.jdi.StackFrame}, or
71 {@link com.sun.jdi.VirtualMachine} or which takes one of these directly or indirectly
|