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

B14348-04

oracle.olapi.data.cursor
Class SpecificationUpdateNeededException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byoracle.olapi.data.cursor.SpecificationUpdateNeededException
All Implemented Interfaces:
java.io.Serializable

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, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, 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.0.4)

B14348-04

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