InvalidTypeException (Java SE 22 & JDK 22)
Description: declaration: module: jdk.jdi, package: com.sun.jdi, class: InvalidTypeException
Keywords: com.sun.jdi.InvalidTypeException class

Module jdk.jdi
Package com.sun.jdi

# Class InvalidTypeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sun.jdi.InvalidTypeException

All Implemented Interfaces:
  `Serializable`

public class InvalidTypeException extends Exception
Thrown to indicate a type mismatch in setting the value of a field or variable, or in specifying the return value of a method.

Since:
  1.3
See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `InvalidTypeException()`
  `InvalidTypeException(String s)`

- ## Method Summary

  ### Methods declared in class java.lang.Throwable

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

  ### Methods declared in class java.lang.Object

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

- ## Constructor Details

  - ### InvalidTypeException

    public InvalidTypeException()

  - ### InvalidTypeException

    public InvalidTypeException(String s)