Oracle OLAP Java API Reference
10g Release 1 (10.1)

B10994-01

oracle.olapi.data.cursor
Class SpecificationUpdateNeededException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--oracle.olapi.data.cursor.SpecificationUpdateNeededException

public class SpecificationUpdateNeededException
extends java.lang.RuntimeException

Indicates that the structure of the Source for a SpecifiedCursorManager has changed and the SpecifiedCursorManager needs a new CursorManagerSpecification. The application should do the following:

  1. Get a new CursorManagerSpecification by calling the createCursorManagerSpecification method on the DataProvider and passing it the Source.
  2. Set the specifications it wants on the appropriate CursorSpecification objects of the CursorManagerSpecification. For example, if the application wants to be able to call the getExtent method on a Cursor, it needs to call the setExtentCalculationSpecified method on the CursorSpecification for that Cursor.
  3. Update the specification by calling the updateSpecification method on the SpecifiedCursorManager and passing it the CursorManagerSpecification.
  4. Create new Cursor objects by calling the createCursor method on the SpecifiedCursorManager.
See Also:
Cursor, CursorSpecification, DataProvider, SpecifiedCursorManager, Serialized Form

Constructor Summary
SpecificationUpdateNeededException()
          Creates a SpecificationUpdateNeededException.
SpecificationUpdateNeededException(java.lang.String message)
          Creates a SpecificationUpdateNeededException with the specified message.

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString

 

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

 

Constructor Detail

SpecificationUpdateNeededException

public SpecificationUpdateNeededException()
Creates a SpecificationUpdateNeededException.

SpecificationUpdateNeededException

public SpecificationUpdateNeededException(java.lang.String message)
Creates a SpecificationUpdateNeededException with the specified message.

Oracle OLAP Java API Reference
10g Release 1 (10.1)

B10994-01

Copyright © 2002, 2003, Oracle. All Rights Reserved.