ST-Developer Java Reference

com.steptools.stdev
Class EntityCastException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.ClassCastException
                  extended by com.steptools.stdev.TypeException
                      extended by com.steptools.stdev.EntityCastException
All Implemented Interfaces:
Serializable

public class EntityCastException
extends TypeException

Thrown when there an attempt is made to use the castTo method to a type that is not a type of the instance.

See Also:
Serialized Form

Constructor Summary
EntityCastException(EntityDomain s, Domain t)
           
 
Method Summary
 EntityDomain getSource()
           
 Domain getTarget()
           
 
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

EntityCastException

public EntityCastException(EntityDomain s,
                           Domain t)
Method Detail

getSource

public EntityDomain getSource()

getTarget

public Domain getTarget()

ST-Developer Java Reference