edu.wpi.first.wpilibj
Class Preferences.IncompatibleTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by edu.wpi.first.wpilibj.Preferences.IncompatibleTypeException
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Preferences

public static class Preferences.IncompatibleTypeException
extends java.lang.RuntimeException

This exception is thrown if the a value requested cannot be converted to the requested type.

See Also:
Serialized Form

Constructor Summary
Preferences.IncompatibleTypeException(java.lang.String value, java.lang.String type)
          Creates an exception with a description based on the input
 
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

Preferences.IncompatibleTypeException

public Preferences.IncompatibleTypeException(java.lang.String value,
                                             java.lang.String type)
Creates an exception with a description based on the input

Parameters:
value - the value that can not be converted
type - the type that the value can not be converted to