SlideNotFoundException
class SlideNotFoundException extends RuntimeException
A slide was expected and the value is not one, or the slide asked for does not exist in the presentation.
Thrown by requireSlide.
Every class in this hierarchy takes an optional message, another exception whose message it reuses, or nothing at all. isException recognises all of them; a plain Error is not one.
Examples
Throwing and catching
throw new SlideNotFoundException("something specific about this call");
try {
doWork();
} catch (error) {
if (error instanceof SlideNotFoundException) {
// handled
}
}
See also
Source
23 September 2026
This documentation was generated with AI (Claude) from the library's source code.