public final class ChannelNotAvailableException
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
static |
CREATOR
For Parcelable
|
ChannelNotAvailableReason |
reasonCode
Why a channel could not be acquired.
|
Constructor and Description |
---|
ChannelNotAvailableException(ChannelNotAvailableReason reason)
Constructs the exception with the given reason
|
ChannelNotAvailableException(ChannelNotAvailableReason reason,
java.lang.String detailMessage)
Constructs the exception with the given reason and message.
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
void |
writeToParcel(Parcel dest,
int flags) |
public final ChannelNotAvailableReason reasonCode
public static finalCREATOR
public ChannelNotAvailableException(ChannelNotAvailableReason reason)
reason
- The reason why a channel is not available.public ChannelNotAvailableException(ChannelNotAvailableReason reason, java.lang.String detailMessage)
reason
- The reason why a channel is not available.detailMessage
- The message to be included in the exceptionCopyright © 2015 Dynastream Innovations Inc. All Rights Reserved.