Class ChannelNotAvailableException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.dsi.ant.channel.ChannelNotAvailableException
All Implemented Interfaces:
android.os.Parcelable, Serializable

public final class ChannelNotAvailableException extends Exception implements android.os.Parcelable
This exception is thrown when a channel could not be allocated.
Since:
4.0
See Also:
  • Field Details

  • Constructor Details

    • ChannelNotAvailableException

      public ChannelNotAvailableException(ChannelNotAvailableReason reason)
      Constructs the exception with the given reason
      Parameters:
      reason - The reason why a channel is not available.
      Since:
      4.0
    • ChannelNotAvailableException

      public ChannelNotAvailableException(ChannelNotAvailableReason reason, String detailMessage)
      Constructs the exception with the given reason and message.
      Parameters:
      reason - The reason why a channel is not available.
      detailMessage - The message to be included in the exception
      Since:
      4.0
  • Method Details

    • describeContents

      public int describeContents()
      Specified by:
      describeContents in interface android.os.Parcelable
    • writeToParcel

      public void writeToParcel(android.os.Parcel dest, int flags)
      Specified by:
      writeToParcel in interface android.os.Parcelable