com.google.visualization.datasource.base
Class TypeMismatchException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.google.visualization.datasource.base.DataSourceException
              extended by com.google.visualization.datasource.base.TypeMismatchException
All Implemented Interfaces:
java.io.Serializable

public class TypeMismatchException
extends DataSourceException

This exception is thrown when there is a mismatch between a value type and a column type, for example when trying to assign a boolean value to a column of type number.

Author:
Yaniv S.
See Also:
Serialized Form

Constructor Summary
TypeMismatchException(java.lang.String message)
          Constructs a new exception with OTHER reason type and a message for the user.
 
Method Summary
 
Methods inherited from class com.google.visualization.datasource.base.DataSourceException
getMessage, getMessageToUser, getReasonType
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

TypeMismatchException

public TypeMismatchException(java.lang.String message)
Constructs a new exception with OTHER reason type and a message for the user.

Parameters:
message - The message for the user.


Copyright © 2009 Google. All Rights Reserved.