com.phoenix_int.aserver.types
Class PHXTypeMismatchException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.phoenix_int.aserver.types.PHXTypeMismatchException
All Implemented Interfaces:
java.io.Serializable

public class PHXTypeMismatchException
extends java.lang.Exception

An exception that is thrown when trying to set a value using an incompatible type

See Also:
Serialized Form

Constructor Summary
PHXTypeMismatchException(java.lang.String name, java.lang.String type, java.lang.String expectedType)
           
 
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

PHXTypeMismatchException

public PHXTypeMismatchException(java.lang.String name,
                                java.lang.String type,
                                java.lang.String expectedType)
Parameters:
name - the name of the variable where the error occured
type - the bad type
expectedType - the type that should have been used