Skip navigation links

Oracle® OLAP Java API Reference
11g Release 1 (11.1)

Class IncorrectDataTypeException

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

All Implemented Interfaces:

public class IncorrectDataTypeException
extends java.lang.RuntimeException

Indicates that the data type requested is not the type available or expected. A situation in which this exception is thrown is when an application calls a method that gets the current value from ValueCursor and the value is not of the expected data type. For example, if an applications calls the getCurrentInteger method and the value at the current position of the ValueCursor is not an integer, then this exception is thrown.

See Also:
ValueCursor, Serialized Form

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


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

Skip navigation links

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