RequestSurfacePackageException
public
final
class
RequestSurfacePackageException
extends Exception
java.lang.Object | |||
↳ | java.lang.Throwable | ||
↳ | java.lang.Exception | ||
↳ | android.app.sdksandbox.RequestSurfacePackageException |
Pengecualian ditampilkan oleh SdkSandboxManager#requestSurfacePackage
Ringkasan
Konstruktor publik | |
---|---|
RequestSurfacePackageException(int requestSurfacePackageErrorCode, String message)
Menginisialisasi |
|
RequestSurfacePackageException(int requestSurfacePackageErrorCode, String message, Throwable cause)
Menginisialisasi |
|
RequestSurfacePackageException(int requestSurfacePackageErrorCode, String message, Throwable cause, Bundle extraInfo)
Menginisialisasi |
Metode publik | |
---|---|
Bundle
|
getExtraErrorInformation()
Menampilkan informasi error tambahan yang dibuat dengan pengecualian ini. |
int
|
getRequestSurfacePackageErrorCode()
Menampilkan kode hasil yang dibuat dengan pengecualian ini. |
Metode turunan | |
---|---|
Konstruktor publik
RequestSurfacePackageException
public RequestSurfacePackageException (int requestSurfacePackageErrorCode, String message)
Menginisialisasi RequestSurfacePackageException
dengan kode hasil dan pesan
Parameter | |
---|---|
requestSurfacePackageErrorCode |
int : Kode hasil.
Nilainya adalah SdkSandboxManager.REQUEST_SURFACE_PACKAGE_INTERNAL_ERROR , atau SdkSandboxManager.REQUEST_SURFACE_PACKAGE_SDK_NOT_LOADED |
message |
String : Pesan mendetail yang disimpan untuk diambil nanti oleh metode Throwable.getMessage() .
Nilai ini dapat berupa null . |
RequestSurfacePackageException
public RequestSurfacePackageException (int requestSurfacePackageErrorCode, String message, Throwable cause)
Menginisialisasi RequestSurfacePackageException
dengan kode hasil, pesan, dan
sebab.
Parameter | |
---|---|
requestSurfacePackageErrorCode |
int : Kode hasil.
Nilainya adalah SdkSandboxManager.REQUEST_SURFACE_PACKAGE_INTERNAL_ERROR , atau SdkSandboxManager.REQUEST_SURFACE_PACKAGE_SDK_NOT_LOADED |
message |
String : Pesan mendetail yang disimpan untuk diambil nanti oleh metode Throwable.getMessage() .
Nilai ini dapat berupa null . |
cause |
Throwable : Penyebab pengecualian, yang disimpan untuk diambil nanti dengan metode Throwable.getCause() . Nilai null diizinkan, dan menunjukkan bahwa penyebabnya tidak ada atau tidak diketahui. |
RequestSurfacePackageException
public RequestSurfacePackageException (int requestSurfacePackageErrorCode, String message, Throwable cause, Bundle extraInfo)
Menginisialisasi RequestSurfacePackageException
dengan kode hasil, pesan, penyebab, dan informasi tambahan.
Parameter | |
---|---|
requestSurfacePackageErrorCode |
int : Kode hasil.
Nilainya adalah SdkSandboxManager.REQUEST_SURFACE_PACKAGE_INTERNAL_ERROR , atau SdkSandboxManager.REQUEST_SURFACE_PACKAGE_SDK_NOT_LOADED |
message |
String : Pesan mendetail yang disimpan untuk diambil nanti oleh metode Throwable.getMessage() .
Nilai ini dapat berupa null . |
cause |
Throwable : Penyebab pengecualian, yang disimpan untuk diambil nanti dengan metode Throwable.getCause() . Nilai null diizinkan, dan menunjukkan bahwa penyebabnya tidak ada atau tidak diketahui. |
extraInfo |
Bundle : Informasi error tambahan. Kolom ini kosong jika tidak ada informasi tersebut.
Nilai ini tidak boleh null . |
Metode publik
{i>getExtraErrorInformation<i}
public Bundle getExtraErrorInformation ()
Menampilkan informasi error tambahan yang dibuat dengan pengecualian ini.
Return | |
---|---|
Bundle |
Informasi error tambahan Bundle.
Nilai ini tidak boleh null . |
getRequestSurfacePackageErrorCode
public int getRequestSurfacePackageErrorCode ()
Menampilkan kode hasil yang dibuat dengan pengecualian ini.
Return | |
---|---|
int |
Kode hasil dari SdkSandboxManager#requestSurfacePackage
Nilainya adalah SdkSandboxManager.REQUEST_SURFACE_PACKAGE_INTERNAL_ERROR , atau SdkSandboxManager.REQUEST_SURFACE_PACKAGE_SDK_NOT_LOADED |