RequestSurfacePackageException
  public
  
  final
  
  class
  RequestSurfacePackageException
  
  
  
  
  
  
  
    extends Exception
  
  
  
  
  
  
| java.lang.Object | |||
| 🎞 | java.lang.Throwable | ||
| 🎞 | java.lang.Exception | ||
| 🎞 | android.app.sdksandbox.RequestSurfacePackageEccezione | ||
Eccezione lanciata da SdkSandboxManager#requestSurfacePackage
Riepilogo
| Costruttori pubblici | |
|---|---|
| 
      RequestSurfacePackageException(int requestSurfacePackageErrorCode, String message)
      Inizializza un  | |
| 
      RequestSurfacePackageException(int requestSurfacePackageErrorCode, String message, Throwable cause)
      Inizializza un  | |
| 
      RequestSurfacePackageException(int requestSurfacePackageErrorCode, String message, Throwable cause, Bundle extraInfo)
      Inizializza un  | |
| Metodi pubblici | |
|---|---|
| 
        
        
        
        
        
        Bundle | 
      getExtraErrorInformation()
      Restituisce le informazioni sull'errore aggiuntive con cui è stata creata questa eccezione. | 
| 
        
        
        
        
        
        int | 
      getRequestSurfacePackageErrorCode()
      Restituisce il codice risultato con cui è stata creata questa eccezione. | 
| Metodi ereditati | |
|---|---|
Costruttori pubblici
RequestSurfacePackageException
public RequestSurfacePackageException (int requestSurfacePackageErrorCode, 
                String message)Inizializza un RequestSurfacePackageException con un codice risultato e un messaggio
| Parametri | |
|---|---|
| requestSurfacePackageErrorCode | int: il codice del risultato.
 Il valore èSdkSandboxManager.REQUEST_SURFACE_PACKAGE_INTERNAL_ERRORoSdkSandboxManager.REQUEST_SURFACE_PACKAGE_SDK_NOT_LOADED | 
| message | String: il messaggio dettagliato che viene salvato per recuperarlo in un secondo momento dal metodoThrowable.getMessage().
 
 Questo valore può esserenull. | 
RequestSurfacePackageException
public RequestSurfacePackageException (int requestSurfacePackageErrorCode, 
                String message, 
                Throwable cause)Inizializza un RequestSurfacePackageException con un codice risultato, un messaggio e un
 causa.
| Parametri | |
|---|---|
| requestSurfacePackageErrorCode | int: il codice del risultato.
 Il valore èSdkSandboxManager.REQUEST_SURFACE_PACKAGE_INTERNAL_ERRORoSdkSandboxManager.REQUEST_SURFACE_PACKAGE_SDK_NOT_LOADED | 
| message | String: il messaggio dettagliato che viene salvato per recuperarlo in un secondo momento dal metodoThrowable.getMessage().
 Questo valore può esserenull. | 
| cause | Throwable: la causa dell'eccezione, che viene salvata per recuperarla in un secondo momento dal metodoThrowable.getCause(). È consentito un valore nullo e indica che la causa è
     inesistente o sconosciuta. | 
RequestSurfacePackageException
public RequestSurfacePackageException (int requestSurfacePackageErrorCode, 
                String message, 
                Throwable cause, 
                Bundle extraInfo)Inizializza un RequestSurfacePackageException con un codice risultato, un messaggio, una causa
 e altre informazioni.
| Parametri | |
|---|---|
| requestSurfacePackageErrorCode | int: il codice del risultato.
 Il valore èSdkSandboxManager.REQUEST_SURFACE_PACKAGE_INTERNAL_ERRORoSdkSandboxManager.REQUEST_SURFACE_PACKAGE_SDK_NOT_LOADED | 
| message | String: il messaggio dettagliato che viene salvato per recuperarlo in un secondo momento dal metodoThrowable.getMessage().
 Questo valore può esserenull. | 
| cause | Throwable: la causa dell'eccezione, che viene salvata per recuperarla in un secondo momento dal metodoThrowable.getCause(). È consentito un valore nullo e indica che la causa è
     inesistente o sconosciuta. | 
| extraInfo | Bundle: ulteriori informazioni sull'errore. Il campo è vuoto se non esistono informazioni di questo tipo.
 
 Questo valore non può esserenull. | 
Metodi pubblici
getExtraErrorInformation
public Bundle getExtraErrorInformation ()
Restituisce le informazioni sull'errore aggiuntive con cui è stata creata questa eccezione.
| Ritorni | |
|---|---|
| Bundle | Il bundle di informazioni sull'errore aggiuntivo.
 
 Questo valore non può essere null. | 
getRequestSurfacePackageErrorCode
public int getRequestSurfacePackageErrorCode ()
Restituisce il codice risultato con cui è stata creata questa eccezione.
| Ritorni | |
|---|---|
| int | Il codice risultato di SdkSandboxManager#requestSurfacePackageIl valore èSdkSandboxManager.REQUEST_SURFACE_PACKAGE_INTERNAL_ERRORoSdkSandboxManager.REQUEST_SURFACE_PACKAGE_SDK_NOT_LOADED | 
