SendDataException
public
final
class
SendDataException
extends Exception
java.lang.Object | |||
↳ | java.lang.Throwable | ||
↳ | java.lang.Exception | ||
↳ | android.app.sdksandbox.SendDataException |
Exception thrown by SdkSandboxManager#sendData
Summary
Public constructors | |
---|---|
SendDataException(int sendDataErrorCode, String message)
Initializes a |
|
SendDataException(int sendDataErrorCode, String message, Throwable cause)
Initializes a |
|
SendDataException(int sendDataErrorCode, String message, Throwable cause, Bundle extraInfo)
Initializes a |
Public methods | |
---|---|
Bundle
|
getExtraErrorInformation()
Returns the extra error information this exception was constructed with. |
int
|
getSendDataErrorCode()
Returns the result code this exception was constructed with. |
Inherited methods | |
---|---|
Public constructors
SendDataException
public SendDataException (int sendDataErrorCode, String message)
Initializes a SendDataException
with a result code and a message
Parameters | |
---|---|
sendDataErrorCode |
int : The result code.
Value is SdkSandboxManager.SEND_DATA_INTERNAL_ERROR |
message |
String : The detailed message which is saved for later retrieval by the Throwable.getMessage() method.
This value may be null . |
SendDataException
public SendDataException (int sendDataErrorCode, String message, Throwable cause)
Initializes a SendDataException
with a result code, a message and a cause.
Parameters | |
---|---|
sendDataErrorCode |
int : The result code.
Value is SdkSandboxManager.SEND_DATA_INTERNAL_ERROR |
message |
String : The detailed message which is saved for later retrieval by the Throwable.getMessage() method.
This value may be null . |
cause |
Throwable : The cause of the exception, which is saved for later retrieval by the Throwable.getCause() method. A null value is permitted, and indicates that the cause is
nonexistent or unknown. |
SendDataException
public SendDataException (int sendDataErrorCode, String message, Throwable cause, Bundle extraInfo)
Initializes a LoadSdkException
with a result code, a message, a cause and extra
information.
Parameters | |
---|---|
sendDataErrorCode |
int : The result code.
Value is SdkSandboxManager.SEND_DATA_INTERNAL_ERROR |
message |
String : The detailed message which is saved for later retrieval by the Throwable.getMessage() method.
This value may be null . |
cause |
Throwable : The cause of the exception, which is saved for later retrieval by the Throwable.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 be null . |
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 . |
getSendDataErrorCode
public int getSendDataErrorCode ()
Returns the result code this exception was constructed with.
Returns | |
---|---|
int |
The result code from SdkSandboxManager#sendData
Value is SdkSandboxManager.SEND_DATA_INTERNAL_ERROR |