Back to Exoplayer

AudioSink.ConfigurationException (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/audio/AudioSink.ConfigurationException.html

latest3.3 KB
Original Source

Package com.google.android.exoplayer2.audio

Class AudioSink.ConfigurationException


public static final classAudioSink.ConfigurationExceptionextends[Exception](https://developer.android.com/reference/java/lang/Exception.html "class or interface in java.lang")

Thrown when a failure occurs configuring the sink. See Also:Serialized Form

Field Summary

Fields | Modifier and Type | Field | Description | | --- | --- | --- | | Format | format | Input Format of the sink when the configuration failure occurs. |

Constructor Summary

Constructors | Constructor | Description | | --- | --- | | ConfigurationException​(String message, Format format) | Creates a new configuration exception with the specified message and no cause. | | ConfigurationException​(Throwable cause, Format format) | Creates a new configuration exception with the specified cause and no message. |

Method Summary

- 

Methods inherited from class java.lang.Throwable

addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

- 

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail

- 

format

public final[Format](../Format.html "class in com.google.android.exoplayer2")format

Input Format of the sink when the configuration failure occurs.

Constructor Detail

- 

ConfigurationException

public ConfigurationException​([Throwable](https://developer.android.com/reference/java/lang/Throwable.html "class or interface in java.lang")cause,[Format](../Format.html "class in com.google.android.exoplayer2")format)

Creates a new configuration exception with the specified cause and no message.

- 

ConfigurationException

public ConfigurationException​([String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")message,[Format](../Format.html "class in com.google.android.exoplayer2")format)

Creates a new configuration exception with the specified message and no cause.