Skip navigation links


com.essbase.eas.essbase.defs.outline
Class CallError

java.lang.Object
  extended by com.essbase.eas.essbase.defs.outline.CallError

All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
MemberCallError

public class CallError
extends java.lang.Object
implements java.io.Serializable

class for errors resulting from calls to the Essbase Outline API.

Since:
6.5.1
Version:
7.0.0
Author:
Hank Cox
See Also:
Serialized Form

Field Summary
static java.lang.Long ALIAS_TABLE_EXISTS
           
static java.lang.Long ALIAS_TABLE_EXP_EXISTS
           
static java.lang.Long ALIAS_TABLE_EXP_NAME_INVALID
           
static java.lang.Long ALIAS_TABLE_EXP_NOTFOUND
           
static java.lang.Long ALIAS_TABLE_INVALID
           
static java.lang.Long ALIAS_TABLE_MAX
           
static java.lang.Long ALIAS_TABLE_NAME
           
static java.lang.Long ALIAS_TABLE_NAME_TOOLONG
           
static java.lang.Long ASO_AGG_NOT_SUPPORTED
           
static java.lang.Long ASO_ASSUMED_TILDE
           
static java.lang.Long ASO_ATTRIBUTE_NOT_SUPPORTED
           
static java.lang.Long ASO_ATTRIBUTE_ON_SECONDARY_HIER
           
static java.lang.Long ASO_BAD_LABEL_ONLY
           
static java.lang.Long ASO_BUILD_VIEW_FAILED
           
static java.lang.Long ASO_DIMTOP_LABEL
           
static java.lang.Long ASO_DTS_IGNORED
           
static java.lang.Long ASO_HIERARCHY_UNBALANCED
           
static java.lang.Long ASO_IGNORED_TWO_PASS
           
static java.lang.Long ASO_LEVEL_COUNT
           
static java.lang.Long ASO_NO_STORED_MEMBERS
           
static java.lang.Long ASO_SHARES_NOT_SUPPORTED
           
static java.lang.Long ASO_STORED_PRIMARY_HIER
           
static java.lang.Long ASO_TB_NOT_SUPPORTED
           
static java.lang.Long ASO_TOO_MANY_VIEWS
           
static java.lang.Long ASO_TOO_MANY_WARNINGS
           
static java.lang.Long ATTRCALC_ADD_FAILED
           
static java.lang.Long ATTRCALC_NAME_USED
           
static java.lang.Long ATTRNAME_TOO_LONG
           
static java.lang.Long BAD_MEMBER_MOVE
           
static java.lang.Long BAD_MEMBER_NAME
           
static java.lang.Long CANT_UNIQUELY_IDENTIFY_MEMBER
           
static java.lang.Long COMMENT_TOO_LONG
           
static java.lang.Long COMPLEX_HIERARCHY
           
static java.lang.Long CREATE_DUPLICATE_NAME
           
static java.lang.Long DIM_UNIQUE_DUPLICATE_MEMBER
           
static java.lang.Long DUPGENLEVNAME
          indicates that there are duplicate generation and/or level names.
static java.lang.Long DUPLICATE_ALIAS
           
static java.lang.Long DUPLICATE_GENLEVEL_NAME
           
static java.lang.Long DUPLICATE_NAME
           
static java.lang.Long EXISTING_GENLEVEL_NAME
           
static java.lang.Long FILE_COPY_ERROR
           
static java.lang.Long FILE_TRANSFER
           
static java.lang.Long FORMULA_NOT_ALLOWED
           
static java.lang.Long GEN_UNIQUE_DUPLICATE_MEMBER
           
static java.lang.Long ILLEGAL_OPERATION
           
static java.lang.Long ILLEGAL_TAG
           
static java.lang.Long INCOMPATIBLE_LANGS_ERROR
           
static java.lang.Long INVALID_DATETIME_ATTR_VAL
           
static java.lang.Long INVALID_MEMBER_NAME
           
static java.lang.Long LEAF_MEMBER_AS_LABEL_ERROR
           
static java.lang.Long LEVEL_UNIQUE_DUPLICATE_MEMBER
           
static java.lang.Long MEMBER_CANT_HAVE_FORMULA
           
static java.lang.Long MEMBER_DUPLICATE_SIBLINGS
           
static java.lang.Long MEMBER_DYN_CALC_ERROR
           
static java.lang.Long MEMBER_NO_FORMULA
           
static java.lang.Long MIGRATE_OPG_ERROR
           
static java.lang.Long NEED_TO_CLEAR_DATA
           
static java.lang.Long NO_TIME_DIM
           
static java.lang.Long NOMOVE_BETWEEN_ATTRNONATTR
           
static java.lang.Long NOMOVE_BETWEEN_DIMS
           
static java.lang.Long NOMOVE_CREATEDELETE_DIMS
           
static java.lang.Long NOT_LOCKED_BY_USER
           
static java.lang.Long OTL_DIMID_UNKNOWN
           
static java.lang.Long OUTLINE_HAS_ERROR
           
static java.lang.Long READ_OPG_ERROR
           
static java.lang.Long RENAME_DUPLICATE_NAME
           
static java.lang.Long RESTRUCTURE_GENERIC
          errors that can result from calculation errors when doing a restructure
static java.lang.Long SHAREUDA
          indicates that one, or more, shared members have UDAs assigned.
static java.lang.Long UNDEFINED_SV
           
static java.lang.Long UNRECOGNIZED
          indicates an unknown error.
static java.lang.Long VIRTBADPARENT
           

 

Constructor Summary
CallError()
          creates a CallError object with a value of UNKNOWN_ERROR.
CallError(long code)
          creates a CallError object with the specified value and no additional information.
CallError(long code, java.lang.Object[] extras)
          creates a CallError object with the specified value and additional information contained in the extras parameter.

 

Method Summary
 boolean equals(java.lang.Object obj)
           
 long getCode()
          returns the error code for this CallError instance.
 java.lang.Long getCodeAsLong()
          returns the error code as an Object
 java.lang.Object[] getExtraInformation()
          returns the set of extra information contained in the CallError instance.
 boolean hasErrorText()
           
 void setCode(long value)
          sets the code for this CallError instance.
 void setExtraInformation(java.lang.Object[] values)
          sets the extra information contained in the CallError instance.
 java.lang.String toRestructureErrorString()
           
 java.lang.String toString()
          overrides the Object.toString() method to return the information contained in this object in a way that is more reasonable.

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

UNRECOGNIZED

public static final java.lang.Long UNRECOGNIZED
indicates an unknown error.

FILE_TRANSFER

public static final java.lang.Long FILE_TRANSFER

FILE_COPY_ERROR

public static final java.lang.Long FILE_COPY_ERROR

SHAREUDA

public static final java.lang.Long SHAREUDA
indicates that one, or more, shared members have UDAs assigned.

DUPGENLEVNAME

public static final java.lang.Long DUPGENLEVNAME
indicates that there are duplicate generation and/or level names.

RESTRUCTURE_GENERIC

public static final java.lang.Long RESTRUCTURE_GENERIC
errors that can result from calculation errors when doing a restructure

INVALID_MEMBER_NAME

public static final java.lang.Long INVALID_MEMBER_NAME

OTL_DIMID_UNKNOWN

public static final java.lang.Long OTL_DIMID_UNKNOWN

NEED_TO_CLEAR_DATA

public static final java.lang.Long NEED_TO_CLEAR_DATA

UNDEFINED_SV

public static final java.lang.Long UNDEFINED_SV

NOT_LOCKED_BY_USER

public static final java.lang.Long NOT_LOCKED_BY_USER

INVALID_DATETIME_ATTR_VAL

public static final java.lang.Long INVALID_DATETIME_ATTR_VAL

BAD_MEMBER_NAME

public static final java.lang.Long BAD_MEMBER_NAME

BAD_MEMBER_MOVE

public static final java.lang.Long BAD_MEMBER_MOVE

DUPLICATE_NAME

public static final java.lang.Long DUPLICATE_NAME

ILLEGAL_TAG

public static final java.lang.Long ILLEGAL_TAG

NO_TIME_DIM

public static final java.lang.Long NO_TIME_DIM

VIRTBADPARENT

public static final java.lang.Long VIRTBADPARENT

NOMOVE_CREATEDELETE_DIMS

public static final java.lang.Long NOMOVE_CREATEDELETE_DIMS

NOMOVE_BETWEEN_DIMS

public static final java.lang.Long NOMOVE_BETWEEN_DIMS

NOMOVE_BETWEEN_ATTRNONATTR

public static final java.lang.Long NOMOVE_BETWEEN_ATTRNONATTR

DUPLICATE_ALIAS

public static final java.lang.Long DUPLICATE_ALIAS

INCOMPATIBLE_LANGS_ERROR

public static final java.lang.Long INCOMPATIBLE_LANGS_ERROR

LEAF_MEMBER_AS_LABEL_ERROR

public static final java.lang.Long LEAF_MEMBER_AS_LABEL_ERROR

MEMBER_DYN_CALC_ERROR

public static final java.lang.Long MEMBER_DYN_CALC_ERROR

CANT_UNIQUELY_IDENTIFY_MEMBER

public static final java.lang.Long CANT_UNIQUELY_IDENTIFY_MEMBER

MEMBER_DUPLICATE_SIBLINGS

public static final java.lang.Long MEMBER_DUPLICATE_SIBLINGS

DIM_UNIQUE_DUPLICATE_MEMBER

public static final java.lang.Long DIM_UNIQUE_DUPLICATE_MEMBER

GEN_UNIQUE_DUPLICATE_MEMBER

public static final java.lang.Long GEN_UNIQUE_DUPLICATE_MEMBER

LEVEL_UNIQUE_DUPLICATE_MEMBER

public static final java.lang.Long LEVEL_UNIQUE_DUPLICATE_MEMBER

ALIAS_TABLE_INVALID

public static final java.lang.Long ALIAS_TABLE_INVALID

ALIAS_TABLE_MAX

public static final java.lang.Long ALIAS_TABLE_MAX

ALIAS_TABLE_NAME

public static final java.lang.Long ALIAS_TABLE_NAME

ALIAS_TABLE_EXISTS

public static final java.lang.Long ALIAS_TABLE_EXISTS

ALIAS_TABLE_NAME_TOOLONG

public static final java.lang.Long ALIAS_TABLE_NAME_TOOLONG

ALIAS_TABLE_EXP_NAME_INVALID

public static final java.lang.Long ALIAS_TABLE_EXP_NAME_INVALID

ALIAS_TABLE_EXP_EXISTS

public static final java.lang.Long ALIAS_TABLE_EXP_EXISTS

ALIAS_TABLE_EXP_NOTFOUND

public static final java.lang.Long ALIAS_TABLE_EXP_NOTFOUND

RENAME_DUPLICATE_NAME

public static final java.lang.Long RENAME_DUPLICATE_NAME

CREATE_DUPLICATE_NAME

public static final java.lang.Long CREATE_DUPLICATE_NAME

EXISTING_GENLEVEL_NAME

public static final java.lang.Long EXISTING_GENLEVEL_NAME

DUPLICATE_GENLEVEL_NAME

public static final java.lang.Long DUPLICATE_GENLEVEL_NAME

FORMULA_NOT_ALLOWED

public static final java.lang.Long FORMULA_NOT_ALLOWED

COMMENT_TOO_LONG

public static final java.lang.Long COMMENT_TOO_LONG

ATTRNAME_TOO_LONG

public static final java.lang.Long ATTRNAME_TOO_LONG

ILLEGAL_OPERATION

public static final java.lang.Long ILLEGAL_OPERATION

OUTLINE_HAS_ERROR

public static final java.lang.Long OUTLINE_HAS_ERROR

READ_OPG_ERROR

public static final java.lang.Long READ_OPG_ERROR

MIGRATE_OPG_ERROR

public static final java.lang.Long MIGRATE_OPG_ERROR

MEMBER_NO_FORMULA

public static final java.lang.Long MEMBER_NO_FORMULA

MEMBER_CANT_HAVE_FORMULA

public static final java.lang.Long MEMBER_CANT_HAVE_FORMULA

ATTRCALC_ADD_FAILED

public static final java.lang.Long ATTRCALC_ADD_FAILED

ATTRCALC_NAME_USED

public static final java.lang.Long ATTRCALC_NAME_USED

ASO_BUILD_VIEW_FAILED

public static final java.lang.Long ASO_BUILD_VIEW_FAILED

ASO_ATTRIBUTE_NOT_SUPPORTED

public static final java.lang.Long ASO_ATTRIBUTE_NOT_SUPPORTED

COMPLEX_HIERARCHY

public static final java.lang.Long COMPLEX_HIERARCHY

ASO_AGG_NOT_SUPPORTED

public static final java.lang.Long ASO_AGG_NOT_SUPPORTED

ASO_SHARES_NOT_SUPPORTED

public static final java.lang.Long ASO_SHARES_NOT_SUPPORTED

ASO_TB_NOT_SUPPORTED

public static final java.lang.Long ASO_TB_NOT_SUPPORTED

ASO_BAD_LABEL_ONLY

public static final java.lang.Long ASO_BAD_LABEL_ONLY

ASO_TOO_MANY_WARNINGS

public static final java.lang.Long ASO_TOO_MANY_WARNINGS

ASO_HIERARCHY_UNBALANCED

public static final java.lang.Long ASO_HIERARCHY_UNBALANCED

ASO_DTS_IGNORED

public static final java.lang.Long ASO_DTS_IGNORED

ASO_ASSUMED_TILDE

public static final java.lang.Long ASO_ASSUMED_TILDE

ASO_IGNORED_TWO_PASS

public static final java.lang.Long ASO_IGNORED_TWO_PASS

ASO_NO_STORED_MEMBERS

public static final java.lang.Long ASO_NO_STORED_MEMBERS

ASO_DIMTOP_LABEL

public static final java.lang.Long ASO_DIMTOP_LABEL

ASO_STORED_PRIMARY_HIER

public static final java.lang.Long ASO_STORED_PRIMARY_HIER

ASO_ATTRIBUTE_ON_SECONDARY_HIER

public static final java.lang.Long ASO_ATTRIBUTE_ON_SECONDARY_HIER

ASO_LEVEL_COUNT

public static final java.lang.Long ASO_LEVEL_COUNT

ASO_TOO_MANY_VIEWS

public static final java.lang.Long ASO_TOO_MANY_VIEWS

Constructor Detail

CallError

public CallError()
creates a CallError object with a value of UNKNOWN_ERROR.

CallError

public CallError(long code)
creates a CallError object with the specified value and no additional information.

CallError

public CallError(long code,
                 java.lang.Object[] extras)
creates a CallError object with the specified value and additional information contained in the extras parameter.

Method Detail

getCode

public long getCode()
returns the error code for this CallError instance.

getCodeAsLong

public java.lang.Long getCodeAsLong()
returns the error code as an Object

setCode

public void setCode(long value)
sets the code for this CallError instance.

getExtraInformation

public java.lang.Object[] getExtraInformation()
returns the set of extra information contained in the CallError instance.

setExtraInformation

public void setExtraInformation(java.lang.Object[] values)
sets the extra information contained in the CallError instance.

toString

public java.lang.String toString()
overrides the Object.toString() method to return the information contained in this object in a way that is more reasonable.
Overrides:
toString in class java.lang.Object

toRestructureErrorString

public java.lang.String toRestructureErrorString()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hasErrorText

public boolean hasErrorText()

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.