|
Oracle® OLAP Java API Reference 10g Release 2 (10.2) B14348-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.express.ErrorDescription
A description of an error that caused an OLAP API method to throw an exception that is related to execution in Oracle OLAP. Such an exception can be associated with several ErrorDescription
objects, because the problem might have triggered several related errors. The ErrorStack
associated with the exception records all of the related errors. To obtain all of the ErrorDescription
objects for a particular Oracle OLAP related exception, call its getErrorStack
method, and then call getErrorDescriptions
on the ErrorStack
.
The description of a particular error is provided through the method calls on its ErrorDescription
. For example, the getErrorType
method returns one of two types of errors, and the getDomain
method reports the area of Oracle OLAP functionality (called the domain) within which the error occurred.
In general, the descriptive information that is provided by an ErrorDescription
is useful only to Oracle staff who are debugging an internal problem. It is not meaningful to application developers.
ErrorStack
, Serialized FormField Summary | |
static int |
DOMAIN_CTL A constant indicating that an error occurred in the Oracle OLAP code for controllers, such as the controller for query execution. |
static int |
DOMAIN_CUR A constant indicating that an error occurred in the Oracle OLAP code for Cursor handling. |
static int |
DOMAIN_DEF A constant indicating that an error occurred in the Oracle OLAP code for Source definitions and query interpretation. |
static int |
DOMAIN_DPR A constant indicating that an error occurred in the Oracle OLAP code for providing data. |
static int |
DOMAIN_ECM A constant indicating that an error occurred in the Oracle OLAP code for supporting ECM. |
static int |
DOMAIN_ENG A constant indicating that an error occurred in the Oracle OLAP code in the engine. |
static int |
DOMAIN_EXP A constant indicating that an error occurred in the Oracle OLAP code for expression generation. |
static int |
DOMAIN_INI A constant indicating that an error occurred in the Oracle OLAP code for connecting. |
static int |
DOMAIN_INT A constant indicating that an error occurred in the Oracle OLAP code for internationalization. |
static int |
DOMAIN_MDP A constant indicating that an error occurred in the Oracle OLAP code for providing metadata. |
static int |
DOMAIN_OES A constant indicating that an error occurred in the Oracle OLAP code for supporting OLAP objects. |
static int |
DOMAIN_SCO A constant indicating that an error occurred in the Oracle OLAP code for SPL command objects. |
static int |
DOMAIN_SEL A constant indicating that an error occurred in the Oracle OLAP code for selection statements. |
static int |
DOMAIN_SPL A constant indicating that an error occurred in the Oracle OLAP code for the SPL. |
static int |
DOMAIN_TRN A constant indicating that an error occurred in the Oracle OLAP code for transactions. |
static int |
ERROR_TYPE_GENERIC A constant indicating that a general error occurred, and that it did not involve a query with a valueless dimension or edge. |
static int |
ERROR_TYPE_NULL_STATUS A constant indicating that an error occurred because a query resulted in a dimension or edge with no values. |
Method Summary | |
int |
getDomain() Gets the area of Oracle OLAP functionality (that is, the domain) in which the error occurred. |
int |
getErrorType() Gets the type of the error. |
java.lang.String |
getLocalizedMessage() Gets a text representation of the ErrorDescription in the default Locale that includes the domain abbreviation, a short text description of the error, and an indication of where in the internal code the error occurred. |
java.lang.String |
getLocalizedMessage(java.util.Locale locale) Gets a text representation of the ErrorDescription in the specified Locale that includes the domain abbreviation, a short text description of the error, and an indication of where in the internal code the error occurred. |
java.lang.String |
getMessage() Gets a short text message describing the error. |
java.lang.String |
getSource() Gets the class and method in which the error occurred within the internal Oracle OLAP code. |
java.lang.String |
toString() Gets a text representation of the ErrorDescription that includes the domain abbreviation, a short text description of the error, and an indication of where in the internal code the error occurred. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int DOMAIN_ENG
public static final int DOMAIN_MDP
public static final int DOMAIN_OES
public static final int DOMAIN_ECM
public static final int DOMAIN_DPR
public static final int DOMAIN_TRN
public static final int DOMAIN_DEF
Source
definitions and query interpretation.public static final int DOMAIN_CUR
Cursor
handling.public static final int DOMAIN_SPL
public static final int DOMAIN_CTL
public static final int DOMAIN_INI
public static final int DOMAIN_SCO
public static final int DOMAIN_INT
public static final int DOMAIN_SEL
public static final int DOMAIN_EXP
public static final int ERROR_TYPE_GENERIC
public static final int ERROR_TYPE_NULL_STATUS
Method Detail |
public final java.lang.String getMessage()
String
that contains a short description of the error.public final java.lang.String getSource()
String
that contains the names of the internal class and method in which the error occurred. The location of the class is within the Oracle OLAP code.public final int getDomain()
DOMAIN
fields in this class.public final int getErrorType()
ERROR_TYPE
fields in this class.public java.lang.String getLocalizedMessage(java.util.Locale locale)
ErrorDescription
in the specified Locale
that includes the domain abbreviation, a short text description of the error, and an indication of where in the internal code the error occurred.locale
- The Locale
to use for translating the message.Locale
.public java.lang.String getLocalizedMessage()
ErrorDescription
in the default Locale
that includes the domain abbreviation, a short text description of the error, and an indication of where in the internal code the error occurred.Locale
.public final java.lang.String toString()
ErrorDescription
that includes the domain abbreviation, a short text description of the error, and an indication of where in the internal code the error occurred.String
that contains a text representation of the ErrorDescription
. The text provides information about the error.
|
Oracle® OLAP Java API Reference 10g Release 2 (10.2) B14348-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |