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

The compressor exception.
## Constructors

| Constructor | Description |
| --- | --- |
| [IndexOutOFRangeException(String message)](#IndexOutOFRangeException-java.lang.String-) | Initializes a new instance of the [IndexOutOFRangeException](../../com.aspose.imaging.coreexceptions/indexoutofrangeexception) class. |
| [IndexOutOFRangeException(String message, Throwable innerException)](#IndexOutOFRangeException-java.lang.String-java.lang.Throwable-) | Initializes a new instance of the [IndexOutOFRangeException](../../com.aspose.imaging.coreexceptions/indexoutofrangeexception) class. |
### IndexOutOFRangeException(String message) {#IndexOutOFRangeException-java.lang.String-}
```
public IndexOutOFRangeException(String message)
```


Initializes a new instance of the [IndexOutOFRangeException](../../com.aspose.imaging.coreexceptions/indexoutofrangeexception) class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| message | java.lang.String | The exception message. |

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


Initializes a new instance of the [IndexOutOFRangeException](../../com.aspose.imaging.coreexceptions/indexoutofrangeexception) class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| message | java.lang.String | The exception message. |
| innerException | java.lang.Throwable | The inner exception. |

