NodeWithThrownExceptions

A node that declares the types of exception it throws.

Inheritors

Functions

Link copied to clipboard
open fun addThrownException(throwType: ReferenceType): N
Adds this type to the throws clause
open fun addThrownException(clazz: Class<out Throwable>): N
Adds this class to the throws clause
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isThrown(clazz: Class<out Throwable>): Boolean
Check whether this elements throws this exception class.
open fun isThrown(throwableName: String): Boolean
Check whether this elements throws this exception class Note that this is simply a text compare, no actual type resolution takes place.
Link copied to clipboard
abstract fun setThrownExceptions(thrownExceptions: NodeList<ReferenceType>): N
Link copied to clipboard