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

B14348-01

oracle.olapi.data.cursor
Class PositionOutOfBoundsException

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

public class PositionOutOfBoundsException
extends java.lang.IndexOutOfBoundsException

Indicates that the specified position is not valid. When an application calls the setPosition method of a Cursor, Oracle OLAP does not determine whether the specified position is valid until the application attempts some other operation such as calling the getExtent or getCurrentValue method of the Cursor. If the specified position is not valid, then this exception is thrown. If an application catches this exception, then it should set the position to different value and try the operation again.

See Also:
Cursor, Serialized Form

Constructor Summary
PositionOutOfBoundsException()
Creates a PositionOutOfBoundsException.
PositionOutOfBoundsException(java.lang.String message)
Creates a PositionOutOfBoundsException 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

PositionOutOfBoundsException

public PositionOutOfBoundsException()
Creates a PositionOutOfBoundsException.

PositionOutOfBoundsException

public PositionOutOfBoundsException(java.lang.String message)
Creates a PositionOutOfBoundsException 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.