# BitmapProcessor.BitmapProcessingException

Artifact: [androidx.media3:media3-session](https://developer.android.com/jetpack/androidx/releases/media3) [View Source](https://cs.android.com/search?q=file:androidx/media3/session/artwork/BitmapProcessor.java+class:androidx.media3.session.artwork.BitmapProcessor.BitmapProcessingException)

*** ** * ** ***


```
public final class BitmapProcessor.BitmapProcessingException extends Exception
```

<br />

|---|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) ||||
| ↳ | [kotlin.Throwable](https://developer.android.com/reference/java/lang/Throwable.html) |||
|   | ↳ | [java.lang.Exception](https://developer.android.com/reference/java/lang/Exception.html) ||
|   |   | ↳ | [androidx.media3.session.artwork.BitmapProcessor.BitmapProcessingException](https://developer.android.com/reference/androidx/media3/session/artwork/BitmapProcessor.BitmapProcessingException) |

*** ** * ** ***

Exception thrown when bitmap processing fails.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/media3/session/artwork/BitmapProcessor.BitmapProcessingException#BitmapProcessingException(java.lang.String)(https://developer.android.com/reference/java/lang/String.html message)` Creates a new instance with an error message. |
| `https://developer.android.com/reference/androidx/media3/session/artwork/BitmapProcessor.BitmapProcessingException#BitmapProcessingException(java.lang.String,java.lang.Throwable)(https://developer.android.com/reference/java/lang/String.html message, https://developer.android.com/reference/java/lang/Throwable.html cause)` Creates a new instance with the given message and cause. |

### Inherited methods

From [java.lang.Throwable](https://developer.android.com/reference/java/lang/Throwable.html) `synchronized final void` `https://developer.android.com/reference/java/lang/Throwable.html#addSuppressed(java.lang.Throwable)(https://developer.android.com/reference/java/lang/Throwable.html exception)` `synchronized https://developer.android.com/reference/java/lang/Throwable.html` `https://developer.android.com/reference/java/lang/Throwable.html#fillInStackTrace()()` `synchronized https://developer.android.com/reference/java/lang/Throwable.html` `https://developer.android.com/reference/java/lang/Throwable.html#getCause()()` `https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/java/lang/Throwable.html#getLocalizedMessage()()` `https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/java/lang/Throwable.html#getMessage()()` `StackTraceElement[]` `https://developer.android.com/reference/java/lang/Throwable.html#getStackTrace()()` `synchronized final Throwable[]` `https://developer.android.com/reference/java/lang/Throwable.html#getSuppressed()()` `synchronized https://developer.android.com/reference/java/lang/Throwable.html` `https://developer.android.com/reference/java/lang/Throwable.html#initCause(java.lang.Throwable)(https://developer.android.com/reference/java/lang/Throwable.html cause)` `void` `https://developer.android.com/reference/java/lang/Throwable.html#printStackTrace()()` `void` `https://developer.android.com/reference/java/lang/Throwable.html#setStackTrace(java.lang.StackTraceElement[])(StackTraceElement[] stackTrace)` `https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/java/lang/Throwable.html#toString()()`

## Public constructors

### BitmapProcessingException

```
public BitmapProcessingException(String message)
```

Creates a new instance with an error message.

### BitmapProcessingException

```
public BitmapProcessingException(String message, Throwable cause)
```

Creates a new instance with the given message and cause.