docs/doc/reference/com/google/android/exoplayer2/util/VideoFrameProcessingException.html
Package com.google.android.exoplayer2.util
All Implemented Interfaces:Serializable
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classVideoFrameProcessingExceptionextends[Exception](https://developer.android.com/reference/java/lang/Exception.html "class or interface in java.lang")
Deprecated. com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
Thrown when an exception occurs while preparing an Effect, or applying an Effect to video frames.
See Also:Serialized Form
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| long | presentationTimeUs |
Deprecated.
The microsecond timestamp of the frame being processed while the exception occurred or C.TIME_UNSET if unknown.
|
Constructors | Constructor | Description |
| --- | --- |
| VideoFrameProcessingException(String message) |
Deprecated.
Creates an instance.
|
| VideoFrameProcessingException(String message, long presentationTimeUs) |
Deprecated.
Creates an instance.
|
| VideoFrameProcessingException(String message, Throwable cause) |
Deprecated.
Creates an instance.
|
| VideoFrameProcessingException(String message, Throwable cause, long presentationTimeUs) |
Deprecated.
Creates an instance.
|
| VideoFrameProcessingException(Throwable cause) |
Deprecated.
Creates an instance.
|
| VideoFrameProcessingException(Throwable cause, long presentationTimeUs) |
Deprecated.
Creates an instance. |
All Methods Static Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| static VideoFrameProcessingException | from(Exception exception) |
Deprecated.
Wraps the given exception in a VideoFrameProcessingException if it is not already a VideoFrameProcessingException and returns the exception otherwise.
|
| static VideoFrameProcessingException | from(Exception exception, long presentationTimeUs) |
Deprecated.
Wraps the given exception in a VideoFrameProcessingException with the given timestamp if it is not already a VideoFrameProcessingException and returns the exception otherwise.
|
-
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
public final long presentationTimeUs
Deprecated.
The microsecond timestamp of the frame being processed while the exception occurred or C.TIME_UNSET if unknown.
-
public VideoFrameProcessingException([String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")message)
Deprecated.
Creates an instance.
Parameters:message - The detail message for this exception.
-
public VideoFrameProcessingException([String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")message,
long presentationTimeUs)
Deprecated.
Creates an instance.
Parameters:message - The detail message for this exception.presentationTimeUs - The timestamp of the frame for which the exception occurred.
-
public VideoFrameProcessingException([String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")message,[Throwable](https://developer.android.com/reference/java/lang/Throwable.html "class or interface in java.lang")cause)
Deprecated.
Creates an instance.
Parameters:message - The detail message for this exception.cause - The cause of this exception.
-
public VideoFrameProcessingException([String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")message,[Throwable](https://developer.android.com/reference/java/lang/Throwable.html "class or interface in java.lang")cause,
long presentationTimeUs)
Deprecated.
Creates an instance.
Parameters:message - The detail message for this exception.cause - The cause of this exception.presentationTimeUs - The timestamp of the frame for which the exception occurred.
-
public VideoFrameProcessingException([Throwable](https://developer.android.com/reference/java/lang/Throwable.html "class or interface in java.lang")cause)
Deprecated.
Creates an instance.
Parameters:cause - The cause of this exception.
-
public VideoFrameProcessingException([Throwable](https://developer.android.com/reference/java/lang/Throwable.html "class or interface in java.lang")cause,
long presentationTimeUs)
Deprecated.
Creates an instance.
Parameters:cause - The cause of this exception.presentationTimeUs - The timestamp of the frame for which the exception occurred.
-
public static[VideoFrameProcessingException](VideoFrameProcessingException.html "class in com.google.android.exoplayer2.util")from([Exception](https://developer.android.com/reference/java/lang/Exception.html "class or interface in java.lang")exception)
Deprecated.
Wraps the given exception in a VideoFrameProcessingException if it is not already a VideoFrameProcessingException and returns the exception otherwise.
-
public static[VideoFrameProcessingException](VideoFrameProcessingException.html "class in com.google.android.exoplayer2.util")from([Exception](https://developer.android.com/reference/java/lang/Exception.html "class or interface in java.lang")exception,
long presentationTimeUs)
Deprecated.
Wraps the given exception in a VideoFrameProcessingException with the given timestamp if it is not already a VideoFrameProcessingException and returns the exception otherwise.