org.graffiti.plugin.view.interactive
Class SlotAssignmentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.graffiti.plugin.view.interactive.SlotAssignmentException
All Implemented Interfaces:
Serializable

public class SlotAssignmentException
extends RuntimeException

RuntimeException that is thrown to indicate that a value and a slot are not compatible.

Version:
$Revision$ $Date$
Author:
Andreas Gleißner
See Also:
Slot.acceptsValue(Object), Serialized Form

Constructor Summary
SlotAssignmentException(String id)
          Constructs a new SlotAssignmentException.
SlotAssignmentException(String id, Class<?> actualClass, Class<?> targetClass)
          Constructs a SlotAssignmentException.
 
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

SlotAssignmentException

public SlotAssignmentException(String id,
                               Class<?> actualClass,
                               Class<?> targetClass)
Constructs a SlotAssignmentException.

Parameters:
id - the id of the incompatible slot.
actualClass - the Class object representing the type of the incompatible value.
targetClass - the Class object representing the type of the incompatible slot.

SlotAssignmentException

public SlotAssignmentException(String id)
Constructs a new SlotAssignmentException.

Parameters:
id - the id of the incompatible slot.


Generated at 2012-05-30 11:00:36 PM CEST