RequestSurfacePackageException
  public
  
  final
  
  class
  RequestSurfacePackageException
  
  
  
  
  
  
  
    extends Exception
  
  
  
  
  
  
| java.lang.Object | |||
| ↳ | java.lang.Throwable | ||
| ↳ | java.lang.Exception | ||
| ↳ | android.app.sdksandbox.RequestSurfacePackageException | ||
      This class was deprecated
      in API level 35.
    Exception is used at SdkSandboxManager.requestSurfacePackage which is getting
     deprecated.
  
Exception thrown by SdkSandboxManager.requestSurfacePackage
Summary
| Public constructors | |
|---|---|
| 
      RequestSurfacePackageException(int requestSurfacePackageErrorCode, String message)
      Initializes a  | |
| 
      RequestSurfacePackageException(int requestSurfacePackageErrorCode, String message, Throwable cause)
      Initializes a  | |
| 
      RequestSurfacePackageException(int requestSurfacePackageErrorCode, String message, Throwable cause, Bundle extraInfo)
      Initializes a  | |
| Public methods | |
|---|---|
| 
        
        
        
        
        
        Bundle | 
      getExtraErrorInformation()
      Returns the extra error information this exception was constructed with. | 
| 
        
        
        
        
        
        int | 
      getRequestSurfacePackageErrorCode()
      Returns the result code this exception was constructed with. | 
| Inherited methods | |
|---|---|
Public constructors
RequestSurfacePackageException
public RequestSurfacePackageException (int requestSurfacePackageErrorCode, 
                String message)Initializes a RequestSurfacePackageException with a result code and a message
| Parameters | |
|---|---|
| requestSurfacePackageErrorCode | int: The result code.
 Value isSdkSandboxManager.REQUEST_SURFACE_PACKAGE_INTERNAL_ERROR, orSdkSandboxManager.REQUEST_SURFACE_PACKAGE_SDK_NOT_LOADED | 
| message | String: The detailed message which is saved for later retrieval by theThrowable.getMessage()method.
 This value may benull. | 
RequestSurfacePackageException
public RequestSurfacePackageException (int requestSurfacePackageErrorCode, 
                String message, 
                Throwable cause)Initializes a RequestSurfacePackageException with a result code, a message and a
 cause.
| Parameters | |
|---|---|
| requestSurfacePackageErrorCode | int: The result code.
 Value isSdkSandboxManager.REQUEST_SURFACE_PACKAGE_INTERNAL_ERROR, orSdkSandboxManager.REQUEST_SURFACE_PACKAGE_SDK_NOT_LOADED | 
| message | String: The detailed message which is saved for later retrieval by theThrowable.getMessage()method.
 This value may benull. | 
| cause | Throwable: The cause of the exception, which is saved for later retrieval by theThrowable.getCause()method. A null value is permitted, and indicates that the cause is
     nonexistent or unknown. | 
RequestSurfacePackageException
public RequestSurfacePackageException (int requestSurfacePackageErrorCode, 
                String message, 
                Throwable cause, 
                Bundle extraInfo)Initializes a RequestSurfacePackageException with a result code, a message, a cause
 and extra information.
| Parameters | |
|---|---|
| requestSurfacePackageErrorCode | int: The result code.
 Value isSdkSandboxManager.REQUEST_SURFACE_PACKAGE_INTERNAL_ERROR, orSdkSandboxManager.REQUEST_SURFACE_PACKAGE_SDK_NOT_LOADED | 
| message | String: The detailed message which is saved for later retrieval by theThrowable.getMessage()method.
 This value may benull. | 
| cause | Throwable: The cause of the exception, which is saved for later retrieval by theThrowable.getCause()method. A null value is permitted, and indicates that the cause is
     nonexistent or unknown. | 
| extraInfo | Bundle: Extra error information. This is empty if there is no such information.
 This value cannot benull. | 
Public methods
getExtraErrorInformation
public Bundle getExtraErrorInformation ()
Returns the extra error information this exception was constructed with.
| Returns | |
|---|---|
| Bundle | The extra error information Bundle.
 This value cannot be null. | 
getRequestSurfacePackageErrorCode
public int getRequestSurfacePackageErrorCode ()
Returns the result code this exception was constructed with.
| Returns | |
|---|---|
| int | The result code from SdkSandboxManager.requestSurfacePackageValue isSdkSandboxManager.REQUEST_SURFACE_PACKAGE_INTERNAL_ERROR, orSdkSandboxManager.REQUEST_SURFACE_PACKAGE_SDK_NOT_LOADED | 
