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

Uppstår när en operation avbryts.
## Konstruktörer

| Konstruktor | Beskrivning |
| --- | --- |
| [OperationInterruptedException(String message)](#OperationInterruptedException-java.lang.String-) | Initierar en ny instans av klassen `OperationInterruptedException`. |
| [OperationInterruptedException(String message, Throwable innerException)](#OperationInterruptedException-java.lang.String-java.lang.Throwable-) | Initierar en ny instans av klassen `OperationInterruptedException`. |
### OperationInterruptedException(String message) {#OperationInterruptedException-java.lang.String-}
```
public OperationInterruptedException(String message)
```


Initierar en ny instans av klassen `OperationInterruptedException`.

**Parameters:**
| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| meddelande | java.lang.String | Undantagsmeddelandet. |

### OperationInterruptedException(String message, Throwable innerException) {#OperationInterruptedException-java.lang.String-java.lang.Throwable-}
```
public OperationInterruptedException(String message, Throwable innerException)
```


Initierar en ny instans av klassen `OperationInterruptedException`.

**Parameters:**
| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| meddelande | java.lang.String | Undantagsmeddelandet. |
| innerException | java.lang.Throwable | Det inre undantaget. |

