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
FontNotFoundException class. |
FontNotFoundException(String fontName)
Initializes a new instance of the
FontNotFoundException class. |
Modifier and Type | Method and Description |
---|---|
String |
getFontName()
Gets requested font name.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public FontNotFoundException()
Initializes a new instance of the FontNotFoundException
class.
public FontNotFoundException(String fontName)
Initializes a new instance of the FontNotFoundException
class.
fontName
- Requested font name.public final String getFontName()
Gets requested font name.
Copyright © 2020. All rights reserved.