AttributeNotFoundException (Java SE 21 & JDK 21)
Description: declaration: module: java.management, package: javax.management, class: AttributeNotFoundException
Keywords: javax.management.AttributeNotFoundException class

Module java.management
Package javax.management

# Class AttributeNotFoundException

java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.management.JMException
javax.management.OperationsException
javax.management.AttributeNotFoundException

All Implemented Interfaces:
  `Serializable`

public class AttributeNotFoundException extends OperationsException
The specified attribute does not exist or cannot be retrieved.

Since:
  1.5
See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AttributeNotFoundException()`
  Default constructor.
  `AttributeNotFoundException(String message)`
  Constructor that allows a specific error message to be specified.

- ## 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

  - ### AttributeNotFoundException

    public AttributeNotFoundException()
    Default constructor.

  - ### AttributeNotFoundException

    public AttributeNotFoundException(String message)
    Constructor that allows a specific error message to be specified.
    Parameters:
      `message` - detail message.