|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--oracle.dss.util.BIBaseException
Indicates a problem somewhere in a BI Beans operation. Subclasses of this class provide specific information about the type of problem that occurred.
Constructor Summary | |
BIBaseException(java.lang.String s, java.lang.Throwable prevException) Constructor for an exception that displays a customized message and that passes on an underlying exception. |
Method Summary | |
java.lang.Throwable |
elementAt(int index) Retrieves the exception at the specified index. |
java.util.Enumeration |
elements() Retrieves An enumeration of exceptions in the exception chain. |
BIException |
findException(int nErrorCode) Determines whether the specified error code appears in the BIException exception stack. |
java.lang.Throwable |
getBIRootCause() Retrieves the root exception. |
java.lang.Throwable |
getPreviousException() Retrieves the underlying exception, if one exists. |
int |
size() Retrieves the size of the exception chain. |
java.lang.String |
toString() Retrieves the exception stack. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BIBaseException(java.lang.String s, java.lang.Throwable prevException)
s
- The customized message.prevException
- The exception that underlies this exception.Method Detail |
public java.lang.Throwable getPreviousException()
getPreviousException
in interface BIException
null
.public java.lang.String toString()
toString
in interface BIException
toString
in class java.lang.Throwable
public java.lang.Throwable getBIRootCause()
getBIRootCause
in interface BIException
public java.lang.Throwable elementAt(int index)
elementAt
in interface BIException
public java.util.Enumeration elements()
elements
in interface BIException
public int size()
size
in interface BIException
public BIException findException(int nErrorCode)
BIException
exception stack. For example, if we were looking for a 'BIB-15000 MetadataManager property not set.' exception, we would pass in an error code value of '15000': BIException biException = findException (15000);nErrorCode
- A int
which represents the error code to find in the BIException
stack.BIException
that is associated with the specified error code, or null.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |