Skip navigation links

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

Class SpecificationUpdateNeededException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by

All Implemented Interfaces:

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
          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


public SpecificationUpdateNeededException()
Creates a SpecificationUpdateNeededException.


public SpecificationUpdateNeededException(java.lang.String message)
Creates a SpecificationUpdateNeededException with the specified message.
message - The message to associate with the exception.

Skip navigation links

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