Skip navigation links

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

E10794-06


oracle.olapi.data.cursor
Class IncorrectDataTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by oracle.olapi.data.cursor.IncorrectDataTypeException

All Implemented Interfaces:
java.io.Serializable

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
IncorrectDataTypeException()
          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

IncorrectDataTypeException

public IncorrectDataTypeException()
Creates an IncorrectDataTypeException.

IncorrectDataTypeException

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

Skip navigation links

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