public class FontNotFoundException extends WatermarkException
The exception that is thrown when requested font is not found.
| Constructor and Description |
|---|
FontNotFoundException()
Initializes a new instance of the
class. |
FontNotFoundException(String fontName)
Initializes a new instance of the
class with a specified font name. |
| Modifier and Type | Method and Description |
|---|---|
String |
getFontName()
Gets the requested font name.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic FontNotFoundException()
FontNotFoundException class.public FontNotFoundException(String fontName)
FontNotFoundException class with a specified font name.fontName - The requested font name.public final String getFontName()
Gets the requested font name.
Copyright © 2026. All rights reserved.