InvocationException (Java Debug Interface )
Keywords: com.sun.jdi.InvocationException class
Date: 2018-07-01

com.sun.jdi

## Class InvocationException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - com.sun.jdi.InvocationException

- All Implemented Interfaces:
    Serializable

      @Exported
      public class InvocationException
      extends Exception

  Thrown to indicate an exception occurred in an invoked method within the target VM.
  Since:
    1.3
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `InvocationException(ObjectReference exception)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ObjectReference` | `exception()`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### InvocationException

          public InvocationException(ObjectReference exception)

  - ### Method Detail

    - #### exception

          public ObjectReference exception()

Copyright © 1999, 2018, Oracle and/or its affiliates. All rights reserved.