public class

UsherConnectionException

extends Exception
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.microstrategy.web.app.utils.usher.UsherConnectionException

Class Overview

The Usher Server API request exception.

Summary

Constants
int INVALID_APPID
int INVALID_ORGID
int INVALID_TOKEN
int INVALID_URL
Public Constructors
UsherConnectionException(int errorCode, String message)
The constructor with error code and string message
Public Methods
int getErrorCode()
Get the error code of this exception.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Constants

public static final int INVALID_APPID

Constant Value: 2 (0x00000002)

public static final int INVALID_ORGID

Constant Value: 4 (0x00000004)

public static final int INVALID_TOKEN

Constant Value: 8 (0x00000008)

public static final int INVALID_URL

Constant Value: 1 (0x00000001)

Public Constructors

public UsherConnectionException (int errorCode, String message)

The constructor with error code and string message

Parameters
errorCode The errorCode that is defined inside the class
message The error message string

Public Methods

public int getErrorCode ()

Get the error code of this exception.

Returns
  • The error code defined as the public constants in this class