|
Oracle® OLAP Java API Reference 12c Release 1 (12.1) E17708-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.express.ErrorDescription
public class 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 Form| Field Summary | |
|---|---|
static int |
DOMAIN_CTLA constant indicating that an error occurred in the Oracle OLAP code for controllers, such as the controller for query execution. |
static int |
DOMAIN_CURA constant indicating that an error occurred in the Oracle OLAP code for Cursor handling. |
static int |
DOMAIN_DEFA constant indicating that an error occurred in the Oracle OLAP code for Source definitions and query interpretation. |
static int |
DOMAIN_DPRA constant indicating that an error occurred in the Oracle OLAP code for providing data. |
static int |
DOMAIN_ECMA constant indicating that an error occurred in the Oracle OLAP code for supporting ECM. |
static int |
DOMAIN_ENGA constant indicating that an error occurred in the Oracle OLAP code in the engine. |
static int |
DOMAIN_EXPA constant indicating that an error occurred in the Oracle OLAP code for expression generation. |
static int |
DOMAIN_INIA constant indicating that an error occurred in the Oracle OLAP code for connecting. |
static int |
DOMAIN_INTA constant indicating that an error occurred in the Oracle OLAP code for internationalization. |
static int |
DOMAIN_MDPA constant indicating that an error occurred in the Oracle OLAP code for providing metadata. |
static int |
DOMAIN_OESA constant indicating that an error occurred in the Oracle OLAP code for supporting OLAP objects. |
static int |
DOMAIN_SCOA constant indicating that an error occurred in the Oracle OLAP code for SPL command objects. |
static int |
DOMAIN_SELA constant indicating that an error occurred in the Oracle OLAP code for selection statements. |
static int |
DOMAIN_SPLA constant indicating that an error occurred in the Oracle OLAP code for the SPL. |
static int |
DOMAIN_TRNA constant indicating that an error occurred in the Oracle OLAP code for transactions. |
static int |
ERROR_TYPE_GENERICA 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_STATUSA 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.getLocalizedMessage in interface HasLocalizedMessagelocale - 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.toString in class java.lang.ObjectString that contains a text representation of the ErrorDescription. The text provides information about the error.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||