Package com.tapjoy

# Class TJError

java.lang.Object
com.tapjoy.TJError

public class TJError extends Object
The error object returned by Tapjoy. Used to indicate the error code and error message. The code could be one of the following: TJC_ERROR_INTEGRATION, TJC_ERROR_SDK, TJC_ERROR_SERVER.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `int`
  `code`
  The error code.
  `String`
  `message`
  The message of the error.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TJError(int errorCode, String errorMessage)`
  User to construct a TJError object.

- ## Method Summary

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### code

    public int code
    The error code.

  - ### message

    public String message
    The message of the error.

- ## Constructor Details

  - ### TJError

    public TJError(int errorCode, String errorMessage)
    User to construct a TJError object.
    Parameters:
      `errorCode` - The error code.
      `errorMessage` - The error message.