**Inheritance:**
java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, [com.aspose.imaging.coreexceptions.ImageException](../../com.aspose.imaging.coreexceptions/imageexception)
```
public class DigitalSignatureException extends ImageException
```

Represents errors that occur during steganography operations.
## Constructors

| Constructor | Description |
| --- | --- |
| [DigitalSignatureException(String message)](#DigitalSignatureException-java.lang.String-) | Initializes a new instance of the [DigitalSignatureException](../../com.aspose.imaging.coreexceptions/digitalsignatureexception) class with a specified error message. |
| [DigitalSignatureException(String message, RuntimeException innerException)](#DigitalSignatureException-java.lang.String-java.lang.RuntimeException-) | Initializes a new instance of the [DigitalSignatureException](../../com.aspose.imaging.coreexceptions/digitalsignatureexception) class with a specified error message and a reference to the inner exception that is the cause of this exception. |
### DigitalSignatureException(String message) {#DigitalSignatureException-java.lang.String-}
```
public DigitalSignatureException(String message)
```


Initializes a new instance of the [DigitalSignatureException](../../com.aspose.imaging.coreexceptions/digitalsignatureexception) class with a specified error message.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| message | java.lang.String | The message that describes the error. |

### DigitalSignatureException(String message, RuntimeException innerException) {#DigitalSignatureException-java.lang.String-java.lang.RuntimeException-}
```
public DigitalSignatureException(String message, RuntimeException innerException)
```


Initializes a new instance of the [DigitalSignatureException](../../com.aspose.imaging.coreexceptions/digitalsignatureexception) class with a specified error message and a reference to the inner exception that is the cause of this exception.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| message | java.lang.String | The message that describes the error. |
| innerException | java.lang.RuntimeException | The exception that is the cause of the current exception. |

