Uses of Interface java.lang.classfile.attribute.ExceptionsAttribute (Java SE 23 & JDK 23)
Description: use: module: java.base, package: java.lang.classfile.attribute, interface: ExceptionsAttribute

# Uses of Interface
java.lang.classfile.attribute.ExceptionsAttribute

Packages that use ExceptionsAttributePREVIEW
Package
Description
java.lang.classfile
Provides classfile parsing, generation, and transformation library.
java.lang.classfile.attribute
Provides interfaces describing classfile attributes for the `java.lang.classfile`PREVIEW library.

- ## Uses of ExceptionsAttributePREVIEW in java.lang.classfilePREVIEW

  Methods in java.lang.classfilePREVIEW that return types with arguments of type ExceptionsAttributePREVIEW
  Modifier and Type
  Method
  Description
  `static AttributeMapperPREVIEW<ExceptionsAttributePREVIEW>`
  Attributes.`exceptions()`
  Returns Attribute mapper for the `Exceptions` attribute.

- ## Uses of ExceptionsAttributePREVIEW in java.lang.classfile.attributePREVIEW

  Subinterfaces with type arguments of type ExceptionsAttributePREVIEW in java.lang.classfile.attributePREVIEW
  Modifier and Type
  Interface
  Description
  `interface`
  `ExceptionsAttributePREVIEW`
  Preview.
  Models the `Exceptions` attribute 4.7.5, which can appear on methods, and records the exceptions declared to be thrown by this method.
  Methods in java.lang.classfile.attributePREVIEW that return ExceptionsAttributePREVIEW
  Modifier and Type
  Method
  Description
  `static ExceptionsAttributePREVIEW`
  ExceptionsAttribute.`of(ClassEntryPREVIEW... exceptions)`
  Returns an `Exceptions` attribute.
  `static ExceptionsAttributePREVIEW`
  ExceptionsAttribute.`of(List<ClassEntryPREVIEW> exceptions)`
  Returns an `Exceptions` attribute.
  `static ExceptionsAttributePREVIEW`
  ExceptionsAttribute.`ofSymbols(ClassDesc... exceptions)`
  Returns an `Exceptions` attribute.
  `static ExceptionsAttributePREVIEW`
  ExceptionsAttribute.`ofSymbols(List<ClassDesc> exceptions)`
  Returns an `Exceptions` attribute.