Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.dataSource.common
Class InvalidMetadataException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--oracle.dss.util.BIBaseException
                    |
                    +--oracle.dss.dataSource.common.QueryException
                          |
                          +--oracle.dss.dataSource.common.InvalidMetadataException
All Implemented Interfaces:
BIException, java.io.Serializable
Direct Known Subclasses:
InvalidAttributeException, InvalidDimensionException, InvalidHierarchyException, InvalidLevelException, InvalidMeasureException

public class InvalidMetadataException
extends QueryException

Superclass for exceptions that are thrown because of errors that occur while retrieving metadata from the database.

See Also:
Serialized Form

Constructor Summary
InvalidMetadataException(java.lang.String s, java.lang.String[] object, java.lang.Throwable e)
          Constructor for multiple errors while getting metadata.
InvalidMetadataException(java.lang.String s, java.lang.String object, java.lang.Throwable e)
          Constructor for a single error while getting metadata.

 

Method Summary
 java.lang.String[] getObjects()
          Retrieves the objects.
 boolean isMultipleObjects()
          Indicates whether there are multiple invalid objects or a single invalid object.

 

Methods inherited from class oracle.dss.util.BIBaseException
elementAt, elements, findException, getBIRootCause, getPreviousException, size, toString

 

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

InvalidMetadataException

public InvalidMetadataException(java.lang.String s,
                                java.lang.String object,
                                java.lang.Throwable e)
Constructor for a single error while getting metadata.
Parameters:
s - Message to display.
object - Name of invalid object.
e - Previous exception to carry (may be null).

InvalidMetadataException

public InvalidMetadataException(java.lang.String s,
                                java.lang.String[] object,
                                java.lang.Throwable e)
Constructor for multiple errors while getting metadata.
Parameters:
s - Message to display.
object - Names of invalid objects.
e - Previous exception to carry (may be null).
Method Detail

getObjects

public java.lang.String[] getObjects()
Retrieves the objects.
Returns:
The list of objects.

isMultipleObjects

public boolean isMultipleObjects()
Indicates whether there are multiple invalid objects or a single invalid object.
Returns:
true if one object; false if more than one invalid object.

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.