Oracle® OLAP Java API Reference
10g Release 2 (10.2)

B14348-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 of the DataProvider and passing it the Source.
  2. Set the specifications it wants for the appropriate CursorSpecification objects of the CursorManagerSpecification. For example, if the application wants to be able to call the getExtent method of a Cursor, then it needs to call the setExtentCalculationSpecified method of the CursorSpecification for that Cursor.
  3. Update the specification by calling the updateSpecification method of the SpecifiedCursorManager and passing it the CursorManagerSpecification.
  4. Create new Cursor objects by calling the createCursor method of 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.
Parameters:
message - The message to associate with the exception.

Oracle® OLAP Java API Reference
10g Release 2 (10.2)

B14348-01

Copyright © 2002, 2005, Oracle. All rights reserved.