Android Verizon Ads SDK Standard Edition Documentation  1.1
Public Member Functions | List of all members
ErrorInfo Class Reference

Represents an error that has occurred in the system. More...

Public Member Functions

 ErrorInfo (final String who, final String description, final int errorCode)
 Construct a new instance. More...
 
String getDescription ()
 Provides access to the error description. More...
 
int getErrorCode ()
 Provides access to the error code for this error. More...
 
String getWho ()
 Provides access to the source of the error. More...
 
String toString ()
 Generates a String representation of this instance. More...
 

Detailed Description

Represents an error that has occurred in the system.

Constructor & Destructor Documentation

◆ ErrorInfo()

ErrorInfo ( final String  who,
final String  description,
final int  errorCode 
)

Construct a new instance.

Parameters
whoa String representation of who had the error
descriptiona brief description of the error
errorCodean error code for the error

Member Function Documentation

◆ getDescription()

String getDescription ( )

Provides access to the error description.

Returns
a brief description of the error or null

◆ getErrorCode()

int getErrorCode ( )

Provides access to the error code for this error.

Returns
an error code for the error

◆ getWho()

String getWho ( )

Provides access to the source of the error.

Returns
a String representation of who had the error or null

◆ toString()

String toString ( )

Generates a String representation of this instance.

Returns
a String representation of this instance