yt4droid
クラス YoutubeException

java.lang.Object
  上位を拡張 java.lang.Throwable
      上位を拡張 java.lang.Exception
          上位を拡張 yt4droid.YoutubeException
すべての実装されたインタフェース:
java.io.Serializable, HttpResponceCode

public class YoutubeException
extends java.lang.Exception
implements HttpResponceCode

An exception class that will be thrown when Youtube data api calls are failed. you can get the HTTP status code using getStatusCode() method.

作成者:
Harioroid
関連項目:
直列化された形式

フィールドの概要
 
インタフェース yt4droid.http.HttpResponceCode から継承されたフィールド
BADREQUEST, CHUNK_OK, HTTP_OK, INTERNAL_ERROR, NOTFOUND, NOTIMPLEMENT, POST_OK, UNAUTHORIZED, UNAVALIVE
 
コンストラクタの概要
YoutubeException(java.lang.Exception cause, HttpResponse res)
           
YoutubeException(HttpResponse res)
           
YoutubeException(java.lang.String message)
           
YoutubeException(java.lang.String message, HttpResponse res)
           
YoutubeException(java.lang.String message, java.lang.Throwable cause)
           
 
メソッドの概要
 java.lang.String getMessage()
           
 java.lang.String getResponseHeader(java.lang.String name)
           
 
クラス java.lang.Throwable から継承されたメソッド
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

YoutubeException

public YoutubeException(java.lang.String message,
                        java.lang.Throwable cause)

YoutubeException

public YoutubeException(HttpResponse res)

YoutubeException

public YoutubeException(java.lang.String message)

YoutubeException

public YoutubeException(java.lang.String message,
                        HttpResponse res)

YoutubeException

public YoutubeException(java.lang.Exception cause,
                        HttpResponse res)
メソッドの詳細

getResponseHeader

public java.lang.String getResponseHeader(java.lang.String name)

getMessage

public java.lang.String getMessage()
オーバーライド:
クラス java.lang.Throwable 内の getMessage