|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
jcreek.util.CreekException
jcreek.representation.EntityTypeNotMatchedException
Title: EntityTypeNotMatchedException
Description: Thrown when an attempt is made to instanciate an EntityType with an entity that do not match the pattern expressed by this type.
Constructor Summary | |
EntityTypeNotMatchedException(Entity entity,
java.lang.Class entityType)
Creates a new EntityTypeNotMatchedException. |
Method Summary | |
Entity |
getEntity()
Returns the entity that the was attempted to be instanciated. |
java.lang.Class |
getEntityTypeClass()
Returns the class of the EntityType subclass. |
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 |
public EntityTypeNotMatchedException(Entity entity, java.lang.Class entityType)
entity
- The entity that is attempted instanciated.entityType
- The subclass of EntityType this entity do not currently match.Method Detail |
public Entity getEntity()
public java.lang.Class getEntityTypeClass()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |