**Inheritance:**
java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception
```
public class IndexOutOFRangeException extends System.Exception
```

压缩器异常。
## 构造函数

| 构造函数 | 描述 |
| --- | --- |
| [IndexOutOFRangeException(String message)](#IndexOutOFRangeException-java.lang.String-) | 初始化一个新的 [IndexOutOFRangeException](../../com.aspose.imaging.coreexceptions/indexoutofrangeexception) 类的实例。 |
| [IndexOutOFRangeException(String message, Throwable innerException)](#IndexOutOFRangeException-java.lang.String-java.lang.Throwable-) | 初始化一个新的 [IndexOutOFRangeException](../../com.aspose.imaging.coreexceptions/indexoutofrangeexception) 类的实例。 |
### IndexOutOFRangeException(String message) {#IndexOutOFRangeException-java.lang.String-}
```
public IndexOutOFRangeException(String message)
```


初始化一个新的 [IndexOutOFRangeException](../../com.aspose.imaging.coreexceptions/indexoutofrangeexception) 类的实例。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 消息 | java.lang.String | 异常消息。 |

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


初始化一个新的 [IndexOutOFRangeException](../../com.aspose.imaging.coreexceptions/indexoutofrangeexception) 类的实例。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 消息 | java.lang.String | 异常消息。 |
| innerException | java.lang.Throwable | 内部异常。 |

