jp.co.sharp.android.io.irrc
クラス IrRemoteControllerException

java.lang.Object
  上位を拡張 java.lang.Throwable
      上位を拡張 java.lang.Exception
          上位を拡張 java.lang.RuntimeException
              上位を拡張 jp.co.sharp.android.io.irrc.IrRemoteControllerException
すべての実装されたインタフェース:
java.io.Serializable

public class IrRemoteControllerException
extends java.lang.RuntimeException

赤外線リモートコントローラ機能の例外を定義する。

関連項目:
IrRemoteController, 直列化された形式

フィールドの概要
static int ABNORMAL_STATE
           状態が不正であることを示す。
static int RACE_HAZARD
           送信不可の条件下にあることを示す。
static int UNDEFINE_STATE
           ステータスが未定義であることを示す。
static int USING_RESOURCE
           既に赤外線通信中のため使用できないことを示す。
 
コンストラクタの概要
IrRemoteControllerException()
           IrRemoteControllerExceptionを生成する。
IrRemoteControllerException(int error_status)
           IrRemoteControllerExceptionを生成する。
IrRemoteControllerException(int error_status, java.lang.String message)
           IrRemoteControllerExceptionを生成する。
 
メソッドの概要
 int getStatus()
           例外の原因を示すステータス値を取得する。
 
クラス java.lang.Throwable から継承されたメソッド
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

UNDEFINE_STATE

public static final int UNDEFINE_STATE
ステータスが未定義であることを示す。

関連項目:
定数フィールド値

ABNORMAL_STATE

public static final int ABNORMAL_STATE
状態が不正であることを示す。

関連項目:
定数フィールド値

USING_RESOURCE

public static final int USING_RESOURCE
既に赤外線通信中のため使用できないことを示す。

関連項目:
定数フィールド値

RACE_HAZARD

public static final int RACE_HAZARD
送信不可の条件下にあることを示す。

関連項目:
定数フィールド値
コンストラクタの詳細

IrRemoteControllerException

public IrRemoteControllerException()
IrRemoteControllerExceptionを生成する。


IrRemoteControllerException

public IrRemoteControllerException(int error_status)
IrRemoteControllerExceptionを生成する。

パラメータ:
error_status - ステータス値。

IrRemoteControllerException

public IrRemoteControllerException(int error_status,
                                   java.lang.String message)
IrRemoteControllerExceptionを生成する。

パラメータ:
error_status - ステータス値。
message - エラーメッセージ。
メソッドの詳細

getStatus

public int getStatus()
例外の原因を示すステータス値を取得する。

戻り値:
ステータス値。
関連項目:
USING_RESOURCE, ABNORMAL_STATE, RACE_HAZARD, UNDEFINE_STATE