**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
```

Возникает, когда операция прерывается.
## Конструкторы

| Конструктор | Описание |
| --- | --- |
| [OperationInterruptedException(String message)](#OperationInterruptedException-java.lang.String-) | Инициализирует новый экземпляр класса `OperationInterruptedException`. |
| [OperationInterruptedException(String message, Throwable innerException)](#OperationInterruptedException-java.lang.String-java.lang.Throwable-) | Инициализирует новый экземпляр класса `OperationInterruptedException`. |
### OperationInterruptedException(String message) {#OperationInterruptedException-java.lang.String-}
```
public OperationInterruptedException(String message)
```


Инициализирует новый экземпляр класса `OperationInterruptedException`.

**Parameters:**
| Параметр | Тип | Описание |
| --- | --- | --- |
| сообщение | java.lang.String | Сообщение исключения. |

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


Инициализирует новый экземпляр класса `OperationInterruptedException`.

**Parameters:**
| Параметр | Тип | Описание |
| --- | --- | --- |
| сообщение | java.lang.String | Сообщение исключения. |
| innerException | java.lang.Throwable | Внутреннее исключение. |

