WatermarkException
Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException
public class WatermarkException extends RuntimeException
Represents base exception in GroupDocs.Watermark product.
Constructors
| Constructor | Description | 
|---|---|
| WatermarkException() | Initializes a new instance of the [WatermarkException](../../com.groupdocs.watermark.exceptions/watermarkexception) class. | 
| WatermarkException(String message) | Initializes a new instance of the [WatermarkException](../../com.groupdocs.watermark.exceptions/watermarkexception) class with a specified error message. | 
WatermarkException()
public WatermarkException()
Initializes a new instance of the [WatermarkException](../../com.groupdocs.watermark.exceptions/watermarkexception) class.
WatermarkException(String message)
public WatermarkException(String message)
Initializes a new instance of the [WatermarkException](../../com.groupdocs.watermark.exceptions/watermarkexception) class with a specified error message.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| message | java.lang.String | The message that describes the error. |