Skip navigation links

Oracle® OLAP Java API Reference
11g Release 2 (11.2)

E10794-05


oracle.olapi.data.cursor
Class SpecificationUpdateNeededException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by oracle.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 CursorManager has changed and the CursorManager needs a new CursorInfoSpecification. The application should do the following:

  1. Get a new CursorInfoSpecification by calling the createCursorInfoSpecification method of the DataProvider and passing it the Source.
  2. Set the specifications it wants for the CursorInfoSpecification object. 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 CursorManager and passing it the CursorInfoSpecification.
  4. Create a new Cursor by calling the createCursor method of the CursorManager.
See Also:
Serialized Form

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

 

Method Summary

 

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.

Skip navigation links

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